From b97f087f186d8b774cb29b4a59c75ee3420d68dd Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Thu, 8 May 2014 16:46:32 -0500 Subject: [PATCH] Fixing a typo in the monit module (status and not status()) --- library/monitoring/monit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)