From 262f2e9048cac9a3867a1f8722a0ebdf2d1fb974 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Andersson?= Date: Tue, 4 Aug 2015 16:59:42 +0800 Subject: [PATCH] monit: Add version_added and type for new argument --- monitoring/monit.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/monitoring/monit.py b/monitoring/monit.py index 32fa526e0bb..f8151a71f2a 100644 --- a/monitoring/monit.py +++ b/monitoring/monit.py @@ -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']) )