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>
pull/53136/head
Piotr Wojciechowski 5 years ago committed by Sam Doran
parent 9b4110a50c
commit ec4cf26d60

@ -30,6 +30,8 @@ options:
labels:
description:
- 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
I(labels_state) and I(labels_to_remove) parameters values. See description below.
type: dict

@ -123,6 +123,8 @@ options:
labels:
description:
- 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
signing_ca_cert:
description:

Loading…
Cancel
Save