forked from evolix/ansible-roles
haproxy: add another variable for configuration
This commit is contained in:
parent
edb5ace762
commit
7fe89d2419
|
@ -2,4 +2,5 @@
|
|||
# backward compatibility with a previously used variable
|
||||
haproxy_backports: "{{ haproxy_jessie_backports | default(false, true) }}"
|
||||
haproxy_stats_url: "http://127.0.0.1:8080/"
|
||||
haproxy_update_config: True
|
||||
haproxy_force_config: True
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
- "templates/haproxy/haproxy.default.cfg.j2"
|
||||
- "haproxy.default.cfg.j2"
|
||||
notify: reload haproxy
|
||||
when: "{{ haproxy_update_config }}"
|
||||
tags:
|
||||
- haproxy
|
||||
- config
|
||||
|
|
Loading…
Reference in a new issue