Dynamic Inventory and Openstack: how to cache ?

81 views
Skip to first unread message

David Vandergucht

unread,
Oct 6, 2016, 12:09:02 PM10/6/16
to Ansible Project
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

Brian Coca

unread,
Feb 9, 2017, 10:01:17 PM2/9/17
to Ansible Project
The openstack libraries control the caching, look at the config there.


----------
Brian Coca
Message has been deleted

Ilyes Semlali

unread,
Mar 26, 2018, 10:00:07 AM3/26/18
to Ansible Project
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 

Ilyes Semlali

unread,
Mar 27, 2018, 5:15:48 AM3/27/18
to Ansible Project
Reply all
Reply to author
Forward
0 new messages