-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Deprecate nios content #2458
Deprecate nios content #2458
Conversation
How should we deprecate the https://github.com/ansible-collections/community.general/blob/main/scripts/inventory/infoblox.py? Because I would assume we will also remote the inventory script with the c.g 5.0.0 release. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good to me
@tadeboro hmm, that's a good point. Also that script depends on the module_utils we will be removing (I guess I should also mark them as deprecated in meta/runtime.yml; just pushed a commit for that), but I guess we can extend them to try to import from infoblox.nios_modules as well. There are two problems with the script:
|
Since Infoblox did not migrate them when they created a new collection, I would assume that they want Ansible users to use the inventory plugin that is part of their collection. So removing it does not sound that bad to me. Also, script users had to copy it somewhere, so we cannot actually remove it entirely by dropping it from the c.g collection.
Since this script needs to be copied manually from the repo, I would say that maybe even a big fat warning comment at the top of the file should be enough. We cannot do much for existing users since they most likely have their own copy of the script that will not notice anything new unless they update their script. |
I've started ansible-community/community-topics#16 since TBH I'd like to get rid of all these scripts from this repository ;-) |
If nobody minds I'll merge this in a couple of days. We can deprecate the inventory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can sort the inventory script issue in a follow-up PR.
Backport to stable-3: 💚 backport PR created✅ Backport PR branch: Backported as #2504 🤖 @patchback |
* Deprecate nios content. * Make 2.9's ansible-test happy. * Add module_utils deprecation. (cherry picked from commit ee9770c)
SUMMARY
Implements ansible-community/community-topics#13.
Closes ansible-community/community-topics#13.
ISSUE TYPE
COMPONENT NAME
nios content