docker_swarm: document docker_node module for manager removal (#602) (#604)

* docker_swarm: document manager removal

Add note that community.docker.swarm_node needs to
be used to demote a manager before it can be removed.

Fixes #601.

* docker_swarm: improve wording

* docker_swarm: fix formatting

(cherry picked from commit 634da44f67)

Co-authored-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
This commit is contained in:
patchback[bot] 2023-04-08 19:42:24 +02:00 committed by GitHub
parent 88fb666d41
commit 93f3bd62d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,6 +67,7 @@ options:
- Set to C(absent), to leave an existing cluster. - Set to C(absent), to leave an existing cluster.
- Set to C(remove), to remove an absent node from the cluster. - Set to C(remove), to remove an absent node from the cluster.
Note that removing requires Docker SDK for Python >= 2.4.0. Note that removing requires Docker SDK for Python >= 2.4.0.
- M(community.docker.docker_node) can be used to demote a manager before removal.
type: str type: str
default: present default: present
choices: choices: