Swarm setup doesn't require root

This commit is contained in:
Jef Roosens 2021-12-13 11:59:34 +01:00
parent b21aea7621
commit 9f520126f6
Signed by: Jef Roosens
GPG key ID: 955C0660072F691F
4 changed files with 4 additions and 3 deletions

View file

@ -8,6 +8,7 @@
register: node_state
shell: "docker info --format '{{ '{{' }}.Swarm.LocalNodeState{{ '}}' }}'"
ignore_errors: true
changed_when: false
- name: Add managers to the swarm
shell: >