Turn on fact caching

We do this for zuul jobs already, so let's do it for our production
runs.

Shift the inventory cache location down a directory so that launch-node
can invalidate the inventory cache.

Change-Id: I52b1c48d091c07e4205c1a7233448925ca26d8d3
This commit is contained in:
Monty Taylor 2018-08-17 05:16:05 -05:00
parent f3036203c3
commit c4ae268492
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594

@ -7,12 +7,16 @@ inventory_plugins=/etc/ansible/inventory_plugins
roles_path=/opt/system-config/production/roles:/etc/ansible/roles
retry_files_enabled=False
retry_files_save_path=
gathering=smart
fact_caching=jsonfile
fact_caching_connection=/var/cache/ansible/facts
[inventory]
enable_plugins=openstack,constructed,yaml,advanced_host_list,ini
cache=True
cache_plugin=jsonfile
cache_connection=/var/cache/ansible
cache_connection=/var/cache/ansible/inventory
[ssh_connection]
pipelining = True