mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
notification modules irc, mqtt now exit with changed=False
(as per discussion on ML)
This commit is contained in:
@@ -138,8 +138,7 @@ def main():
|
||||
except Exception, e:
|
||||
module.fail_json(msg="unable to send to IRC: %s" % e)
|
||||
|
||||
changed = True
|
||||
module.exit_json(changed=changed, channel=channel, nick=nick,
|
||||
module.exit_json(changed=False, channel=channel, nick=nick,
|
||||
msg=msg)
|
||||
|
||||
# this is magic, see lib/ansible/module_common.py
|
||||
|
||||
Reference in New Issue
Block a user