From 4fafd7662dfbb35b42aeb832be9626af11685a0f Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Wed, 30 Sep 2020 17:13:39 +0200 Subject: [PATCH] run_once the compose task. --- tasks/haproxy-docker-service.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/haproxy-docker-service.yml b/tasks/haproxy-docker-service.yml index da08b23..a795621 100644 --- a/tasks/haproxy-docker-service.yml +++ b/tasks/haproxy-docker-service.yml @@ -10,6 +10,7 @@ state: present pull: yes recreate: smart + run_once: True when: docker_swarm_manager_main_node is defined and docker_swarm_manager_main_node tags: [ 'haproxy', 'docker_haproxy', 'docker_swarm', 'docker' ]