mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Default restart_retries to None rather than 0. Fixes #4534.
This commit is contained in:
parent
6ae4e50e47
commit
890c2d04e2
1 changed files with 1 additions and 1 deletions
|
@ -1927,7 +1927,7 @@ def main():
|
|||
recreate=dict(type='bool', default=False),
|
||||
restart=dict(type='bool', default=False),
|
||||
restart_policy=dict(type='str', choices=['no', 'on-failure', 'always', 'unless-stopped']),
|
||||
restart_retries=dict(type='int', default=0),
|
||||
restart_retries=dict(type='int', default=None),
|
||||
shm_size=dict(type='str'),
|
||||
security_opts=dict(type='list'),
|
||||
state=dict(type='str', choices=['absent', 'present', 'started', 'stopped'], default='started'),
|
||||
|
|
Loading…
Reference in a new issue