Skip to content

Commit

Permalink
Solves issue #1
Browse files Browse the repository at this point in the history
  • Loading branch information
cleberjsantos committed Jun 16, 2016
1 parent ebe2ba9 commit d6262de
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions defaults/main.yml
Expand Up @@ -4,6 +4,7 @@ varnish_use_default_vcl: true
varnish_default_vcl_template_path: default.vcl.j2
varnish_default_backend_host: "127.0.0.1"
varnish_default_backend_port: "8080"
varnish_listen: "127.0.0.1"
varnish_listen_port: "80"
varnish_secret: "14bac2e6-1e34-4770-8078-974373b76c90"
varnish_config_path: /etc/varnish
Expand Down
2 changes: 1 addition & 1 deletion templates/varnish.j2
Expand Up @@ -73,7 +73,7 @@ VARNISH_VCL_CONF={{ varnish_config_path }}/default.vcl
# # Default address and port to bind to
# # Blank address means all IPv4 and IPv6 interfaces, otherwise specify
# # a host name, an IPv4 dotted quad, or an IPv6 address in brackets.
# VARNISH_LISTEN_ADDRESS=
VARNISH_LISTEN_ADDRESS={{ varnish_listen }}
VARNISH_LISTEN_PORT={{ varnish_listen_port }}
#
# # Telnet admin interface listen address and port
Expand Down
2 changes: 1 addition & 1 deletion templates/varnish.params.j2
Expand Up @@ -10,7 +10,7 @@ VARNISH_VCL_CONF={{ varnish_config_path }}/default.vcl
# Default address and port to bind to. Blank address means all IPv4
# and IPv6 interfaces, otherwise specify a host name, an IPv4 dotted
# quad, or an IPv6 address in brackets.
# VARNISH_LISTEN_ADDRESS=192.168.1.5
VARNISH_LISTEN_ADDRESS={{ varnish_listen }}
VARNISH_LISTEN_PORT={{ varnish_listen_port }}

# Admin interface listen address and port
Expand Down

0 comments on commit d6262de

Please sign in to comment.