Skip to content

Commit

Permalink
Cache Ansible facts (speeds up reruns of the playbook)
Browse files Browse the repository at this point in the history
  • Loading branch information
davestephens committed Aug 28, 2022
1 parent f550528 commit 6e850b9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ansible.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,10 @@
[defaults]
retry_files_enabled = False

# fact caching
gathering = smart
fact_caching = jsonfile
fact_caching_connection = /tmp/facts_cache

# two hours timeout
fact_caching_timeout = 7200

0 comments on commit 6e850b9

Please sign in to comment.