-
Notifications
You must be signed in to change notification settings - Fork 175
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
ansible collection for the client side of things #461
Comments
Hi @bendem and thanks for the issue. I agree that it's challenging to keep track of where the callback is installed depending on the distro, venv, etc. We dicussed whether we should do this a while back here:
At a high level, we've decided to keep the ansible plugins in the ara package because installing it takes care of the dependencies and lets us keep the simple "getting started" workflow:
If the callback is in the collection, there are several gotchas and additional steps required. ara-collection has historically been about setting up an ara server but there could probably be a role that takes care of setting up the client side as well. That doesn't mean moving the callback to the collection, though. Let me know if you have ideas but in the meantime I hope that makes sense. |
ansible-lint complains that "ara_record" is not a FQCN . |
@amilcarlucas that's a good question, I'm not sure. While I realize it isn't ideal, I suppose a workaround would be to configure ansible-lint ignore that particular lint rule for the time being. |
Yes, that's what we've done for now, but as you said, it's not ideal since it's a global setting and hides other valid problems. |
For what it's worth, we have the same problem with hashivault (TerryHowe/ansible-modules-hashivault#234 (comment)) |
The FQCN is |
Oh, thanks @flowerysong, indeed I was told about |
In my case ansible-lint is not complaining about FQCN but printing a warning when using
Wouldn't it be easy to write a proper Ansible collection for the ara plugins which simple wraps around the PyPI package? |
Also no syntax highlighting, autocomplete or documentation on hover for the ara modules when using Ansible extension in VSCode |
Did you try specifying |
As I said, I don't have a problem regarding the FQCN, I just get those warnings. If I use
|
arf, fun times. |
As a new user to ARA, I was also confused about the way to install and use the callback. IMHO having it as a collection (which wraps the PyPi package as @hille721 suggested) would make much sense. |
@Hipska in fact I already discussed this with @dmsimard and @Thulium-Drake last year and already opened a WIP PR: ansible-community/ara-collection#75 Edit: |
What is the idea ?
Following the spirit of #71, it would be nice to install the callback and ansible modules using collections rather than through pip.
Currently, I have this is my ansible config to make the callback plugin useable, would love to clean it up:
I'm currently using
1.5.8
.The text was updated successfully, but these errors were encountered: