I'm trying to use the module as part of a playbook. I get a strange fail. From the result of the operation and reading the code I think the issue is with infoblox. The record is properly created but as part of the last checks the result fails to pass the _are_records_equivalent assertion.
So, as I understand the result and any further queries to the API will return an empty object for extattrs. Which causes the original data not to match the result object. This is likely just an artifact of the current version/build of infoblox I'm working with.
I tested by blacklisting extattrs from elements checked as part of _are_records_equivalent
ignore_properties = [_ID_PROPERTY, _EXT_ATTR_PROPERTY] # ~ line 1580
and things started working without problems. I'm assuming this change may brake some current functionality. So not sure I should create a PR with this. The other option I can think is change behaviour of _are_records_equivalent so it considers extattrs: {} and extattrs: None as equivalent.
I'm trying to use the module as part of a playbook. I get a strange fail. From the result of the operation and reading the code I think the issue is with infoblox. The record is properly created but as part of the last checks the result fails to pass the
_are_records_equivalent
assertion.So, as I understand the result and any further queries to the API will return an empty object for
extattrs
. Which causes the original data not to match the result object. This is likely just an artifact of the current version/build of infoblox I'm working with.I tested by blacklisting
extattrs
from elements checked as part of_are_records_equivalent
and things started working without problems. I'm assuming this change may brake some current functionality. So not sure I should create a PR with this. The other option I can think is change behaviour of
_are_records_equivalent
so it considersextattrs: {}
andextattrs: None
as equivalent.