mirror of
https://github.com/ansible-collections/community.docker.git
synced 2025-12-15 19:42:06 +00:00
Fix docs. (#436)
This commit is contained in:
parent
b2bb064e47
commit
bc6757d3b8
@ -67,7 +67,7 @@ network:
|
||||
- Will be C(none) if network does not exist.
|
||||
returned: always
|
||||
type: dict
|
||||
sample: '{
|
||||
sample: {
|
||||
"Attachable": false,
|
||||
"ConfigFrom": {
|
||||
"Network": ""
|
||||
@ -94,7 +94,7 @@ network:
|
||||
"Name": "ansible-test-f2700bba",
|
||||
"Options": {},
|
||||
"Scope": "local"
|
||||
}'
|
||||
}
|
||||
'''
|
||||
|
||||
import traceback
|
||||
|
||||
@ -118,13 +118,13 @@ containers:
|
||||
returned: I(containers) is C(true)
|
||||
type: list
|
||||
elements: str
|
||||
sample: '[]'
|
||||
sample: []
|
||||
containers_space_reclaimed:
|
||||
description:
|
||||
- Amount of reclaimed disk space from container pruning in bytes.
|
||||
returned: I(containers) is C(true)
|
||||
type: int
|
||||
sample: '0'
|
||||
sample: 0
|
||||
|
||||
# images
|
||||
images:
|
||||
@ -133,13 +133,13 @@ images:
|
||||
returned: I(images) is C(true)
|
||||
type: list
|
||||
elements: str
|
||||
sample: '[]'
|
||||
sample: []
|
||||
images_space_reclaimed:
|
||||
description:
|
||||
- Amount of reclaimed disk space from image pruning in bytes.
|
||||
returned: I(images) is C(true)
|
||||
type: int
|
||||
sample: '0'
|
||||
sample: 0
|
||||
|
||||
# networks
|
||||
networks:
|
||||
@ -148,7 +148,7 @@ networks:
|
||||
returned: I(networks) is C(true)
|
||||
type: list
|
||||
elements: str
|
||||
sample: '[]'
|
||||
sample: []
|
||||
|
||||
# volumes
|
||||
volumes:
|
||||
@ -157,13 +157,13 @@ volumes:
|
||||
returned: I(volumes) is C(true)
|
||||
type: list
|
||||
elements: str
|
||||
sample: '[]'
|
||||
sample: []
|
||||
volumes_space_reclaimed:
|
||||
description:
|
||||
- Amount of reclaimed disk space from volumes pruning in bytes.
|
||||
returned: I(volumes) is C(true)
|
||||
type: int
|
||||
sample: '0'
|
||||
sample: 0
|
||||
|
||||
# builder_cache
|
||||
builder_cache_space_reclaimed:
|
||||
@ -171,7 +171,7 @@ builder_cache_space_reclaimed:
|
||||
- Amount of reclaimed disk space from builder cache pruning in bytes.
|
||||
returned: I(builder_cache) is C(true)
|
||||
type: int
|
||||
sample: '0'
|
||||
sample: 0
|
||||
'''
|
||||
|
||||
import traceback
|
||||
|
||||
@ -24,10 +24,11 @@ results:
|
||||
description: |
|
||||
List of dictionaries containing the list of stacks or tasks associated
|
||||
to a stack name.
|
||||
sample: >
|
||||
"results": [{"name":"grafana","namespace":"default","orchestrator":"Kubernetes","services":"2"}]
|
||||
sample:
|
||||
- {"name":"grafana","namespace":"default","orchestrator":"Kubernetes","services":"2"}
|
||||
returned: always
|
||||
type: list
|
||||
elements: dict
|
||||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
|
||||
@ -277,7 +277,7 @@ actions:
|
||||
returned: when action failed.
|
||||
type: list
|
||||
elements: str
|
||||
example: "['This cluster is already a swarm cluster']"
|
||||
example: ['This cluster is already a swarm cluster']
|
||||
|
||||
'''
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user