Merge "Reload haproxy configuration when config changes"

This commit is contained in:
Zuul 2019-07-23 18:55:05 +00:00 committed by Gerrit Code Review
commit 60d4a1bdd3
2 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,4 @@
- name: Reload haproxy
shell:
cmd: docker-compose kill -s HUP haproxy
chdir: /etc/haproxy-docker/

View File

@ -19,6 +19,7 @@
template:
src: haproxy.cfg.j2
dest: /var/haproxy/etc/haproxy.cfg
notify: Reload haproxy
- name: Install docker-compose
package:
name: