mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
improve docs in keep_volumes (#105)
This commit is contained in:
parent
d9420f88bc
commit
7cec9cc972
1 changed files with 4 additions and 4 deletions
|
@ -353,7 +353,7 @@ options:
|
||||||
type: str
|
type: str
|
||||||
keep_volumes:
|
keep_volumes:
|
||||||
description:
|
description:
|
||||||
- Retain volumes associated with a removed container.
|
- Retain anonymous volumes associated with a removed container.
|
||||||
type: bool
|
type: bool
|
||||||
default: yes
|
default: yes
|
||||||
kill_signal:
|
kill_signal:
|
||||||
|
@ -712,7 +712,7 @@ options:
|
||||||
state:
|
state:
|
||||||
description:
|
description:
|
||||||
- 'C(absent) - A container matching the specified name will be stopped and removed. Use I(force_kill) to kill the container
|
- 'C(absent) - A container matching the specified name will be stopped and removed. Use I(force_kill) to kill the container
|
||||||
rather than stopping it. Use I(keep_volumes) to retain volumes associated with the removed container.'
|
rather than stopping it. Use I(keep_volumes) to retain anonymous volumes associated with the removed container.'
|
||||||
- 'C(present) - Asserts the existence of a container matching the name and any provided configuration parameters. If no
|
- 'C(present) - Asserts the existence of a container matching the name and any provided configuration parameters. If no
|
||||||
container matches the name, a container will be created. If a container matches the name but the provided configuration
|
container matches the name, a container will be created. If a container matches the name but the provided configuration
|
||||||
does not match, the container will be updated, if it can be. If it cannot be updated, it will be removed and re-created
|
does not match, the container will be updated, if it can be. If it cannot be updated, it will be removed and re-created
|
||||||
|
@ -725,8 +725,8 @@ options:
|
||||||
image version will be taken into account, you can also use the I(ignore_image) option.
|
image version will be taken into account, you can also use the I(ignore_image) option.
|
||||||
- Use the I(recreate) option to always force re-creation of a matching container, even if it is running.
|
- Use the I(recreate) option to always force re-creation of a matching container, even if it is running.
|
||||||
- If the container should be killed instead of stopped in case it needs to be stopped for recreation, or because I(state) is
|
- If the container should be killed instead of stopped in case it needs to be stopped for recreation, or because I(state) is
|
||||||
C(stopped), please use the I(force_kill) option. Use I(keep_volumes) to retain volumes associated with a removed container.
|
C(stopped), please use the I(force_kill) option. Use I(keep_volumes) to retain anonymous volumes associated with a removed container.
|
||||||
- Use I(keep_volumes) to retain volumes associated with a removed container.
|
- Use I(keep_volumes) to retain anonymous volumes associated with a removed container.
|
||||||
type: str
|
type: str
|
||||||
default: started
|
default: started
|
||||||
choices:
|
choices:
|
||||||
|
|
Loading…
Reference in a new issue