mirror of
https://gitlab.com/rusty-bever/deployment.git
synced 2026-04-08 14:15:48 +02:00
Swarm setup doesn't require root
This commit is contained in:
parent
b21aea7621
commit
9f520126f6
4 changed files with 4 additions and 3 deletions
|
|
@ -3,6 +3,7 @@
|
|||
register: node_state
|
||||
shell: "docker info --format '{{ '{{' }}.Swarm.LocalNodeState{{ '}}' }}'"
|
||||
ignore_errors: true
|
||||
changed_when: false
|
||||
|
||||
- name: Add worker to swarm.
|
||||
register: join_cmd
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue