diff options
author | Jordan Cohen <hypergig@gmail.com> | 2016-04-16 08:10:49 -0400 |
---|---|---|
committer | René Moser <mail@renemoser.net> | 2016-04-16 14:10:49 +0200 |
commit | 359b2abebc1d2e038cb2dbbba3868a58ef229178 (patch) | |
tree | 0a293d8f89df99f78e5ffa1c8b71d70984e00d55 /monitoring | |
parent | a61742e070f399af223e7faff585612f4f30ba99 (diff) | |
download | ansible-modules-extras-359b2abebc1d2e038cb2dbbba3868a58ef229178.tar.gz |
idempotency fix (#2024)
Diffstat (limited to 'monitoring')
-rw-r--r-- | monitoring/datadog_monitor.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/monitoring/datadog_monitor.py b/monitoring/datadog_monitor.py index 8dbbe646..c5aec1b5 100644 --- a/monitoring/datadog_monitor.py +++ b/monitoring/datadog_monitor.py @@ -208,7 +208,7 @@ def _update_monitor(module, monitor, options): options=options) if 'errors' in msg: module.fail_json(msg=str(msg['errors'])) - elif _equal_dicts(msg, monitor, ['creator', 'overall_state']): + elif _equal_dicts(msg, monitor, ['creator', 'overall_state', 'modified']): module.exit_json(changed=False, msg=msg) else: module.exit_json(changed=True, msg=msg) |