Fix documentation mistakes for docker_swarm_info and docker_swarm_service (#608)

* Fix typo in documentation section

* Fix typo in documentation section

Co-authored-by: WojciechowskiPiotr <devel@it-playground.pl>
This commit is contained in:
Piotr Wojciechowski 2020-07-02 23:17:07 +02:00 committed by GitHub
parent 786f082976
commit 171bc087cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View file

@ -116,7 +116,7 @@ EXAMPLES = '''
- name: Get info on Docker Swarm and filtered list of registered nodes - name: Get info on Docker Swarm and filtered list of registered nodes
docker_swarm_info: docker_swarm_info:
nodes: yes nodes: yes
nodes_filter: nodes_filters:
name: mynode name: mynode
register: result register: result

View file

@ -307,7 +307,7 @@ options:
propagation: propagation:
description: description:
- The propagation mode to use. - 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 type: str
choices: choices:
- shared - shared
@ -319,12 +319,12 @@ options:
no_copy: no_copy:
description: description:
- Disable copying of data from a container when a volume is created. - 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 type: bool
driver_config: driver_config:
description: description:
- Volume driver configuration. - Volume driver configuration.
- Can only be used when I(mode) is C(volume). - Can only be used when I(type) is C(volume).
suboptions: suboptions:
name: name:
description: description:
@ -340,12 +340,12 @@ options:
- "Size of the tmpfs mount in format C(<number>[<unit>]). Number is a positive integer. - "Size of the tmpfs mount in format C(<number>[<unit>]). Number is a positive integer.
Unit can be C(B) (byte), C(K) (kibibyte, 1024B), C(M) (mebibyte), C(G) (gibibyte), Unit can be C(B) (byte), C(K) (kibibyte, 1024B), C(M) (mebibyte), C(G) (gibibyte),
C(T) (tebibyte), or C(P) (pebibyte)." 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 type: str
tmpfs_mode: tmpfs_mode:
description: description:
- File mode of the tmpfs in octal. - 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 type: int
name: name:
description: description: