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' ]