diff --git a/plugins/modules/cloud/docker/docker_swarm_info.py b/plugins/modules/cloud/docker/docker_swarm_info.py index 6f15b5395a..e4d44e5bd7 100644 --- a/plugins/modules/cloud/docker/docker_swarm_info.py +++ b/plugins/modules/cloud/docker/docker_swarm_info.py @@ -116,7 +116,7 @@ EXAMPLES = ''' - name: Get info on Docker Swarm and filtered list of registered nodes docker_swarm_info: nodes: yes - nodes_filter: + nodes_filters: name: mynode register: result diff --git a/plugins/modules/cloud/docker/docker_swarm_service.py b/plugins/modules/cloud/docker/docker_swarm_service.py index db03df327f..926c45f04b 100644 --- a/plugins/modules/cloud/docker/docker_swarm_service.py +++ b/plugins/modules/cloud/docker/docker_swarm_service.py @@ -307,7 +307,7 @@ options: propagation: description: - The propagation mode to use. - - Can only be used when I(mode) is C(bind). + - Can only be used when I(type) is C(bind). type: str choices: - shared @@ -319,12 +319,12 @@ options: no_copy: description: - Disable copying of data from a container when a volume is created. - - Can only be used when I(mode) is C(volume). + - Can only be used when I(type) is C(volume). type: bool driver_config: description: - Volume driver configuration. - - Can only be used when I(mode) is C(volume). + - Can only be used when I(type) is C(volume). suboptions: name: description: @@ -340,12 +340,12 @@ options: - "Size of the tmpfs mount in format C([]). Number is a positive integer. Unit can be C(B) (byte), C(K) (kibibyte, 1024B), C(M) (mebibyte), C(G) (gibibyte), C(T) (tebibyte), or C(P) (pebibyte)." - - Can only be used when I(mode) is C(tmpfs). + - Can only be used when I(type) is C(tmpfs). type: str tmpfs_mode: description: - File mode of the tmpfs in octal. - - Can only be used when I(mode) is C(tmpfs). + - Can only be used when I(type) is C(tmpfs). type: int name: description: