Use the Mistral directory for storing the Ansible fact cache.
This aligns with how TripleO currently stores all Ansible data in /var/lib/mistral/. Our documentation already recommends running setfacl on that directory if an end-user wants to access the files there. Change-Id: I29d0a353cd0a0d28f36460a8e81003378884a5bd Closes-Bug: #1850916 Signed-off-by: Luke Short <ekultails@gmail.com>
This commit is contained in:
parent
07c7889ca5
commit
d504caff6c
|
@ -108,7 +108,7 @@ def write_default_ansible_cfg(work_dir,
|
|||
config.set('defaults', 'gathering', 'smart')
|
||||
config.set('defaults', 'fact_caching', 'jsonfile')
|
||||
config.set('defaults', 'fact_caching_connection',
|
||||
'/var/tmp/ansible_fact_cache')
|
||||
'/var/lib/mistral/ansible_fact_cache')
|
||||
|
||||
# Expire facts in the fact cache after 7200s (2h)
|
||||
config.set('defaults', 'fact_caching_timeout', '7200')
|
||||
|
|
Loading…
Reference in New Issue