mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 11:51:26 -07:00
* fix for https://github.com/ansible-collections/community.general/issues/1335
* added changelog fragment
* Update changelogs/fragments/nios_host_record-fix-aliases-removal.yml
Co-authored-by: Felix Fontein <felix@fontein.de>
* extend changelog to specify CNAMES
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 496be77a2b
)
Co-authored-by: Pablo Escobar Lopez <pescobar001@gmail.com>
This commit is contained in:
parent
6d4760eb20
commit
3960153f70
2 changed files with 6 additions and 0 deletions
|
@ -455,6 +455,9 @@ class WapiModule(WapiBase):
|
|||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue