summaryrefslogtreecommitdiffstats
path: root/library/monitoring
diff options
context:
space:
mode:
authorJames Cammarata <jimi@sngx.net>2014-05-08 23:46:32 +0200
committerJames Cammarata <jimi@sngx.net>2014-05-08 23:46:32 +0200
commitb97f087f186d8b774cb29b4a59c75ee3420d68dd (patch)
tree90d98be9995115926feaa60a64d9795c2d64d6d2 /library/monitoring
parentMerge branch 'devel' of https://github.com/brian-brazil/ansible into brian-br... (diff)
downloadansible-b97f087f186d8b774cb29b4a59c75ee3420d68dd.tar.xz
ansible-b97f087f186d8b774cb29b4a59c75ee3420d68dd.zip
Fixing a typo in the monit module (status and not status())
Diffstat (limited to 'library/monitoring')
-rw-r--r--library/monitoring/monit2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/monitoring/monit b/library/monitoring/monit
index 86903e0e40..558f1e696f 100644
--- a/library/monitoring/monit
+++ b/library/monitoring/monit
@@ -143,7 +143,7 @@ def main():
if module.check_mode:
module.exit_json(changed=True)
status = run_command('monitor')
- if status() not in ['not monitored']:
+ if status not in ['not monitored']:
module.exit_json(changed=True, name=name, state=state)
module.fail_json(msg='%s process not monitored' % name, status=status)