-
Notifications
You must be signed in to change notification settings - Fork 478
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
Add examples how to make inventory caching interoperable with fact caching #1689
Comments
Thanks for your Ansible docs contribution! We talk about Ansible documentation on matrix at #docs:ansible.im and on libera IRC at #ansible-docs if you ever want to join us and chat about the docs! We meet there on Tuesdays (see the Ansible calendar) and welcome additions to our weekly agenda items - scroll down to find the upcoming agenda and add a comment to put something new on that agenda. |
Hey @0xFelix - do you have details from your discussions that you can add here to the issue? |
From discussion with @bcoca I gathered:
|
Adding more to the pile:
|
After recent discussions I learned that if dynamic inventories cache their facts on a per host basis, then their cache can become interoperable with fact caching in Ansible.
Unfortunately this is nowhere documented and I couldn't find a single inventory that implements caching in this way. If I'm not mistaken, then all of the inventories included in the Ansible distribution only make use of source caching, to avoid load on the inventory's data source.
It would be great if more examples could be added to Developing dynamic inventory to show how caching can be made more efficient.
The text was updated successfully, but these errors were encountered: