Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix to be able to remove aliases with module nios_host_record #28

Merged

Conversation

pescobar
Copy link
Contributor

I sent this same PR to community.general collection and the maintainers asked me to also send it to this repo

This fix allows to remove aliases from host objects using module nios_host_record. All the details are in ansible-collections/community.general#1335

As I am not familiar with the nios modules and nios_modules/plugins/module_utils/api.py is used by many other modules I tried that this PR only affects the use case I tested. That's why I use if key == 'aliases' . I verified that that there is no other nios module using an argument named aliases so I think this fix should only apply for the use case I tried to fix. Let me know if you know of a better approach to fix the bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants