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-pull support ? #193
Comments
Hi @eoli3n ! ara should "just work" with ansible-pull but let us know if you encounter any issues. There is no equivalent implementation in the web frontend yet but filtering by host is supported by the API (i.e, https://api.demo.recordsansible.org/api/v1/hosts?name=localhost) as well as the CLI: There is a WIP patch to implement a "host index" (as opposed to the current playbook index) that I have not had the chance to complete: https://review.opendev.org/c/recordsansible/ara/+/682778 |
Thanks It would be great if ara could handle natively
An extra filter in As we said on IRC, I will try to use labels to filter source hosts as a first workaround, with extra-vars pass to ansible-pull:
|
Yes, that's a good idea 👍 I have a WIP patch that works for saving the controller hostname here: https://review.opendev.org/c/recordsansible/ara/+/765434 Feel free to review and try it out in a virtualenv or something like that:
Then run the playbook with the callback enabled and you'll find something like this: Mine is localhost because I'm funny and my laptop's FQDN is "localhost" but it should work if you have a real hostname :) Searching by controller works so you can do |
My user is "user" so i guess we are the same kind 🤡 |
This will land in 1.5.4 that I am preparing for release early next week. |
The controller fqdn that ran the playbook is now recorded and can be searched for both in the UI and the CLI. Fixes: ansible-community#193 Change-Id: I53e8d158fc3b6ba7a16582234aaa2542eab5fcdc
I configure 800 hosts with a 400 tasks playbook, so i'm using ansible-pull script : https://docs.ansible.com/ansible/latest/cli/ansible-pull.html
I can configure ara callback plugin to send logs through http, but in live demo i can not found any field to filter "source" host.
Will you implement ability to see and query host log source ?
The text was updated successfully, but these errors were encountered: