Install the haproxy configuration on every manager.

This commit is contained in:
Andrea Dell'Amico 2020-10-01 19:31:33 +02:00
parent abc39e59bc
commit a9fb0cf578
1 changed files with 1 additions and 1 deletions

View File

@ -8,5 +8,5 @@
template: src=haproxy.cfg.j2 dest=/etc/haproxy/haproxy.cfg owner=root group=root mode='0444'
notify: Reload the HAPROXY configuration
when: docker_swarm_manager_main_node | bool
when: docker_swarm_manager
tags: [ 'haproxy', 'docker_haproxy', 'docker_swarm', 'docker', 'haproxy_conf' ]