1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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
docker_swarm_info:
nodes: yes
nodes_filter:
nodes_filters:
name: mynode
register: result

View file

@ -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>[<unit>]). 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: