monit: Add version_added and type for new argument

reviewable/pr18780/r1
Björn Andersson 9 years ago committed by Björn Andersson
parent 5835d06a4e
commit 262f2e9048

@ -45,6 +45,7 @@ options:
many times to perform the requested action. Between each retry Ansible will sleep for 1 second. many times to perform the requested action. Between each retry Ansible will sleep for 1 second.
required: false required: false
default: 10 default: 10
version_added: "2.0"
requirements: [ ] requirements: [ ]
author: "Darryl Stoflet (@dstoflet)" author: "Darryl Stoflet (@dstoflet)"
''' '''
@ -57,7 +58,7 @@ EXAMPLES = '''
def main(): def main():
arg_spec = dict( arg_spec = dict(
name=dict(required=True), 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']) state=dict(required=True, choices=['present', 'started', 'restarted', 'stopped', 'monitored', 'unmonitored', 'reloaded'])
) )

Loading…
Cancel
Save