mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 08:13:08 +00:00
Merge pull request #2931 from caredotcom/flowdock_nochange
flowdock module returns changed=false on succes
This commit is contained in:
@@ -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
|
||||
#<<INCLUDE_ANSIBLE_MODULE_COMMON>>
|
||||
|
||||
Reference in New Issue
Block a user