mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Documentation update for labels operations on swarm/node (#53083)
* Update lib/ansible/modules/cloud/docker/docker_node.py * Update lib/ansible/modules/cloud/docker/docker_swarm.py Co-Authored-By: WojciechowskiPiotr <23406016+WojciechowskiPiotr@users.noreply.github.com>
This commit is contained in:
parent
9b4110a50c
commit
ec4cf26d60
2 changed files with 4 additions and 0 deletions
|
@ -30,6 +30,8 @@ options:
|
||||||
labels:
|
labels:
|
||||||
description:
|
description:
|
||||||
- User-defined key/value metadata that will be assigned as node attribute.
|
- User-defined key/value metadata that will be assigned as node attribute.
|
||||||
|
- Label operations in this module apply to the docker swarm node specified by I(hostname).
|
||||||
|
Use M(docker_swarm) module to add/modify/remove swarm cluster labels.
|
||||||
- The actual state of labels assigned to the node when module completes its work depends on
|
- The actual state of labels assigned to the node when module completes its work depends on
|
||||||
I(labels_state) and I(labels_to_remove) parameters values. See description below.
|
I(labels_state) and I(labels_to_remove) parameters values. See description below.
|
||||||
type: dict
|
type: dict
|
||||||
|
|
|
@ -123,6 +123,8 @@ options:
|
||||||
labels:
|
labels:
|
||||||
description:
|
description:
|
||||||
- User-defined key/value metadata.
|
- User-defined key/value metadata.
|
||||||
|
- Label operations in this module apply to the docker swarm cluster.
|
||||||
|
Use M(docker_node) module to add/modify/remove swarm node labels.
|
||||||
type: dict
|
type: dict
|
||||||
signing_ca_cert:
|
signing_ca_cert:
|
||||||
description:
|
description:
|
||||||
|
|
Loading…
Reference in a new issue