lets try some fact caching
This commit is contained in:
parent
0aa95ac9fd
commit
3c8866abbd
1 changed files with 4 additions and 2 deletions
|
@ -35,7 +35,7 @@ forks = 150
|
|||
# smart - gather by default, but don't regather if already gathered
|
||||
# implicit - gather by default, turn off with gather_facts: False
|
||||
# explicit - do not gather by default, must say gather_facts: True
|
||||
#gathering = implicit
|
||||
gathering = smart
|
||||
|
||||
# This only affects the gathering done by a play's gather_facts directive,
|
||||
# by default gathering retrieves all facts subsets
|
||||
|
@ -241,7 +241,9 @@ filter_plugins = /srv/web/infra/ansible/filter_plugins:/usr/lib/python2.7/si
|
|||
# without having to talk to them in the same playbook run to get their
|
||||
# current IP information.
|
||||
#fact_caching = memory
|
||||
|
||||
fact_caching = jsonfile
|
||||
fact_caching_connection = /root/.ansible_facts_cache
|
||||
fact_caching_timeout = 86400
|
||||
|
||||
# retry files
|
||||
# When a playbook fails by default a .retry file will be created in ~/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue