From a9fb0cf5782bb13ed30dc113226122af7a1f2036 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Thu, 1 Oct 2020 19:31:33 +0200 Subject: [PATCH] Install the haproxy configuration on every manager. --- tasks/haproxy_conf.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/haproxy_conf.yml b/tasks/haproxy_conf.yml index 481f435..5cd0667 100644 --- a/tasks/haproxy_conf.yml +++ b/tasks/haproxy_conf.yml @@ -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' ]