Cache Ansible facts (speeds up reruns of the playbook)

This commit is contained in:
David Stephens 2022-08-28 12:02:02 +01:00
parent f55052804b
commit 6e850b97e3

View file

@ -1,2 +1,10 @@
[defaults] [defaults]
retry_files_enabled = False retry_files_enabled = False
# fact caching
gathering = smart
fact_caching = jsonfile
fact_caching_connection = /tmp/facts_cache
# two hours timeout
fact_caching_timeout = 7200