haproxy: add a variable to keep the existing configuration
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Jérémy Lecour 2019-10-10 11:27:39 +02:00 committed by Jérémy Lecour
parent 569ad4d38a
commit edb5ace762
3 changed files with 3 additions and 1 deletions

View File

@ -17,6 +17,7 @@ The **patch** part changes incrementally at each release.
* evolinux-base: On debian 10 and later, add noexec on /dev/shm
* evolinux-base: default value for "evolinux_ssh_group"
* generate-ldif: support MariaDB 10.3
* haproxy: add a variable to keep the existing configuration
* listupgrade: install old-kernel-autoremoval script
* mongodb: still incompatible with Debian 10
* mysql: activate binary logs by specifying log_bin path

View File

@ -2,3 +2,4 @@
# 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_force_config: True

View File

@ -22,7 +22,7 @@
template:
src: "{{ item }}"
dest: /etc/haproxy/haproxy.cfg
force: yes
force: "{{ haproxy_force_config }}"
validate: "haproxy -c -f %s"
with_first_found:
- "templates/haproxy/haproxy.{{ inventory_hostname }}.cfg.j2"