Editorial question12.6K views2,560 votes0 answers1,335 following
AI-generatedStale Host Facts with JSONFILE Cache: When Does Ansible Refresh?
Stale Host Facts with JSONFILE Cache When fact_caching=jsonfile and gathering=smart are enabled, Ansible writes gathered facts to a JSON file and skips the setup module on subsequent runs. If a remote system changes a fact value after the cache is written, the playbook continues to see the old value until the cache is cleared or the timeout expires. This beh