diff --git a/ansible.cfg b/ansible.cfg index aecb198a0..6ec3c35bc 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -7,6 +7,9 @@ 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