* Add option for fact cache expiry By adding the `fact_caching_timeout` we avoid having really stale/invalid data ending up in there. Leaving commented out by default, for backwards compatibility, but nice to have there. * Enabled cache-expiry by default Set to 2 hours and modified comment to reflect change
17 lines
700 B
INI
17 lines
700 B
INI
[ssh_connection]
|
|
pipelining=True
|
|
#ssh_args = -F ./ssh-bastion.conf -o ControlMaster=auto -o ControlPersist=30m
|
|
#control_path = ~/.ssh/ansible-%%r@%%h:%%p
|
|
[defaults]
|
|
host_key_checking=False
|
|
gathering = smart
|
|
fact_caching = jsonfile
|
|
fact_caching_connection = /tmp
|
|
# Once created, fact cache is never force updated. This is why the tiemeout exists. If you're still getting
|
|
# stale data in your runs (e.g. stale `etcd_access_addresses`), you might want to use `--flush-cache`.
|
|
fact_caching_timeout = 7200 # 2 hours
|
|
stdout_callback = skippy
|
|
library = ./library
|
|
callback_whitelist = profile_tasks
|
|
roles_path = roles:$VIRTUAL_ENV/usr/local/share/kubespray/roles:$VIRTUAL_ENV/usr/local/share/ansible/roles
|