-
Notifications
You must be signed in to change notification settings - Fork 144
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
Let the collection to use both awx.awx and ansible.controller collections, as per user decision #351
Let the collection to use both awx.awx and ansible.controller collections, as per user decision #351
Conversation
@sean-m-sullivan @Tompage1994 @djdanielsson I think it would be a good idea to have a new release based on that PR, as the current version is tied to the |
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 don't necessarily like this solution but it may be the best we can do. I'm not sure if there is some magic we could do to look up what collection we are using.
That said, I'm happy to go with this, at least for now. My only thought is that we should probably default to ansible.controller rather than awx.awx.
I've set it to |
If you agree, I could add this to automatically detect what collection is installed, and default to https://docs.ansible.com/ansible/latest/collections/community/general/collection_version_lookup.html or the following to run |
To avoid depending on
|
I like that solution to figure out which collection is being used |
On Monday I'm working on it 😊 |
updated README.md Added checks to automatically detect what collection is installed
f4d740e
to
61cd955
Compare
@Tompage1994 @djdanielsson @sean-m-sullivan, I'm not sure if there's anything pending in this PR. |
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.
LGTM, thanks for making the changes.
add variable to set the plugin name to use everywhere
What does this PR do?
Right now, the tasks in filetree_create and object_diff roles are using the
ansible.controller
collection to make use of thecontroller_api
plugin, so anyone trying to use theawx.awx
collection will get in trouble as theansible.controller
collection should not be present. To let the end users to chose freely what collection they want to use, I've modified the code to get that collection name from a variable, which must be defined with the correct value to work successfully.How should this be tested?
Is there a relevant Issue open for this?
No issue opened for this.
Other Relevant info, PRs, etc.
N/A