mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-27 04:41:26 -07:00
added unless stopped option
This commit is contained in:
parent
4cce825ae9
commit
76af56eaca
1 changed files with 2 additions and 2 deletions
|
@ -309,7 +309,7 @@ options:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
description:
|
description:
|
||||||
- Container restart policy.
|
- Container restart policy.
|
||||||
choices: ["no", "on-failure", "always"]
|
choices: ["no", "on-failure", "always", "unless-stopped"]
|
||||||
default: null
|
default: null
|
||||||
version_added: "1.9"
|
version_added: "1.9"
|
||||||
restart_policy_retry:
|
restart_policy_retry:
|
||||||
|
@ -1775,7 +1775,7 @@ def main():
|
||||||
detach = dict(default=True, type='bool'),
|
detach = dict(default=True, type='bool'),
|
||||||
state = dict(default='started', choices=['present', 'started', 'reloaded', 'restarted', 'stopped', 'killed', 'absent', 'running']),
|
state = dict(default='started', choices=['present', 'started', 'reloaded', 'restarted', 'stopped', 'killed', 'absent', 'running']),
|
||||||
signal = dict(default=None),
|
signal = dict(default=None),
|
||||||
restart_policy = dict(default=None, choices=['always', 'on-failure', 'no']),
|
restart_policy = dict(default=None, choices=['always', 'on-failure', 'no', 'unless-stopped']),
|
||||||
restart_policy_retry = dict(default=0, type='int'),
|
restart_policy_retry = dict(default=0, type='int'),
|
||||||
extra_hosts = dict(type='dict'),
|
extra_hosts = dict(type='dict'),
|
||||||
debug = dict(default=False, type='bool'),
|
debug = dict(default=False, type='bool'),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue