You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@fluo.apache.org by GitBox <gi...@apache.org> on 2020/03/10 16:02:33 UTC

[GitHub] [fluo-muchos] ivakegg commented on a change in pull request #331: WIP - #254

ivakegg commented on a change in pull request #331: WIP - #254
URL: https://github.com/apache/fluo-muchos/pull/331#discussion_r390419266
 
 

 ##########
 File path: ansible/docker.yml
 ##########
 @@ -27,8 +27,9 @@
         docker info | egrep '^Swarm: ' | cut -d ' ' -f 2
       register: swarm_status
       changed_when: "'active' not in swarm_status.stdout_lines"
-    - name: initialize swarm
-      shell: >
+    - name: initialize swarm 
+      shell: |
+        docker swarm leave --force || echo "leaving swarm for multiple setups"
 
 Review comment:
   Having the initialize doing a teardown before initialization seems odd to me, but perhaps I am not understanding something here.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services