diff --git a/ansible_collections/infoblox/nios_modules/plugins/module_utils/api.py b/ansible_collections/infoblox/nios_modules/plugins/module_utils/api.py index 24402453..8c08147d 100644 --- a/ansible_collections/infoblox/nios_modules/plugins/module_utils/api.py +++ b/ansible_collections/infoblox/nios_modules/plugins/module_utils/api.py @@ -482,6 +482,9 @@ def compare_objects(self, current_object, proposed_object): return False elif isinstance(proposed_item, list): + if key == 'aliases': + if set(current_item) != set(proposed_item): + return False for subitem in proposed_item: if not self.issubset(subitem, current_item): return False