From 9acd865a65d03bf471687fde1887e9b50bc5c0d6 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Tue, 29 Dec 2020 22:53:13 +0100 Subject: [PATCH] Revert the 'run_once' change --- tasks/haproxy_conf.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tasks/haproxy_conf.yml b/tasks/haproxy_conf.yml index d712e66..5cd0667 100644 --- a/tasks/haproxy_conf.yml +++ b/tasks/haproxy_conf.yml @@ -8,8 +8,5 @@ template: src=haproxy.cfg.j2 dest=/etc/haproxy/haproxy.cfg owner=root group=root mode='0444' notify: Reload the HAPROXY configuration - run_once: True - when: - - docker_swarm_manager - - docker_swarm_manager_main_node is defined and docker_swarm_manager_main_node | bool + when: docker_swarm_manager tags: [ 'haproxy', 'docker_haproxy', 'docker_swarm', 'docker', 'haproxy_conf' ]