Hi !
I cannot find any example of cloud.yaml configuring openstack for dynamic inventory with caching. Right now, each run takes forever to start because it is repopulating from openstack every time.
How should i do ?
Cheers
David
Hi !
I cannot find any example of cloud.yaml configuring openstack for dynamic inventory with caching. Right now, each run takes forever to start because it is repopulating from openstack every time.
How should i do ?
Cheers
David
The openstack libraries control the caching, look at the config there.
Any suggestions on where to find some documentation on “the config there” ? I’ve looked through a few source code to check which key to add to my /etc/ansible/openstack.yml file.
All I could find was : https://github.com/ansible/ansible/blob/devel/contrib/inventory/openstack.yml
I really need to cache my inventory, my cloud provider has set an unlimitted timeout when he blacklists IPs that perform too much requests on keystone.
Thank’s in advance for you answer
I’ve found some doc !
https://docs.openstack.org/os-client-config/latest/user/configuration.html#ipv6