Skip to content
Snippets Groups Projects
Commit 408b4b1e authored by jurgenhaas's avatar jurgenhaas
Browse files

General improvements

parent 33042515
No related branches found
No related tags found
No related merge requests found
......@@ -126,7 +126,7 @@ backend backend_varnish
{% if varnish_host == inventory_hostname %}
server varnish 127.0.0.1:6081 maxconn 1000
{% else %}
server varnish {{ hostvars[varnish_host]['static_ipv4']|default(hostvars[varnish_host]['ansible_default_ipv4']['address']) }}:6081 maxconn 1000
server varnish {{ varnish_host_ip|default('') }}:6081 maxconn 1000
{% endif %}
{% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment