haproxy: add another variable for configuration
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Jérémy Lecour 2019-10-11 21:24:32 +02:00 committed by Jérémy Lecour
parent edb5ace762
commit 7fe89d2419
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -30,6 +30,7 @@
- "templates/haproxy/haproxy.default.cfg.j2"
- "haproxy.default.cfg.j2"
notify: reload haproxy
when: "{{ haproxy_update_config }}"
tags:
- haproxy
- config