mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
monit: Add version_added and type for new argument
This commit is contained in:
parent
757c9bffee
commit
69e9bd3406
1 changed files with 2 additions and 1 deletions
|
@ -45,6 +45,7 @@ options:
|
|||
many times to perform the requested action. Between each retry Ansible will sleep for 1 second.
|
||||
required: false
|
||||
default: 10
|
||||
version_added: "2.0"
|
||||
requirements: [ ]
|
||||
author: "Darryl Stoflet (@dstoflet)"
|
||||
'''
|
||||
|
@ -57,7 +58,7 @@ EXAMPLES = '''
|
|||
def main():
|
||||
arg_spec = dict(
|
||||
name=dict(required=True),
|
||||
max_retries=dict(default=10),
|
||||
max_retries=dict(default=10, type='int'),
|
||||
state=dict(required=True, choices=['present', 'started', 'restarted', 'stopped', 'monitored', 'unmonitored', 'reloaded'])
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue