From ccd2bafd3740b6641fc8a393ad3675af372cca52 Mon Sep 17 00:00:00 2001 From: Matt Coddington Date: Wed, 15 May 2013 21:40:16 -0400 Subject: [PATCH] notification modules should set chnged to False --- library/notification/flowdock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/notification/flowdock b/library/notification/flowdock index 295ba66cb1d..1d09660dd8c 100644 --- a/library/notification/flowdock +++ b/library/notification/flowdock @@ -175,7 +175,7 @@ def main(): # If we're in check mode, just exit pretending like we succeeded if module.check_mode: - module.exit_json(changed=True) + module.exit_json(changed=False) # Send the data to Flowdock try: @@ -183,7 +183,7 @@ def main(): except Exception, e: module.fail_json(msg="unable to send msg: %s" % e) - module.exit_json(changed=True, msg=module.params["msg"]) + module.exit_json(changed=False, msg=module.params["msg"]) # this is magic, see lib/ansible/module_common.py #<>