We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37988a6 commit 4d7e5c9Copy full SHA for 4d7e5c9
1 file changed
plugins/module_utils/icinga.py
@@ -262,6 +262,10 @@ def diff(self, find_by="name"):
262
diff["before"][key] = "{val}".format(val=value)
263
diff["after"][key] = "{val}".format(val=data_from_task[key])
264
265
+ # workaround for type confusion in API, remove when https://github.com/telekom-mms/ansible-collection-icinga-director/issues/285 is solved
266
+ if diff["before"] == diff["after"]:
267
+ return {}
268
+
269
return diff
270
271
def update(self, state):
0 commit comments