mirror of
https://github.com/ansible-collections/community.docker.git
synced 2025-12-16 11:58:43 +00:00
(cherry picked from commit bc6757d3b8)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
4d0f00db3c
commit
855227c892
@ -68,7 +68,7 @@ network:
|
||||
- Will be C(none) if network does not exist.
|
||||
returned: always
|
||||
type: dict
|
||||
sample: '{
|
||||
sample: {
|
||||
"Attachable": false,
|
||||
"ConfigFrom": {
|
||||
"Network": ""
|
||||
@ -95,7 +95,7 @@ network:
|
||||
"Name": "ansible-test-f2700bba",
|
||||
"Options": {},
|
||||
"Scope": "local"
|
||||
}'
|
||||
}
|
||||
'''
|
||||
|
||||
import traceback
|
||||
|
||||
@ -120,13 +120,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:
|
||||
@ -135,13 +135,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:
|
||||
@ -150,7 +150,7 @@ networks:
|
||||
returned: I(networks) is C(true)
|
||||
type: list
|
||||
elements: str
|
||||
sample: '[]'
|
||||
sample: []
|
||||
|
||||
# volumes
|
||||
volumes:
|
||||
@ -159,13 +159,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:
|
||||
@ -173,7 +173,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
|
||||
|
||||
@ -23,10 +23,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 = '''
|
||||
|
||||
@ -276,7 +276,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