Ansible fact_caching_timeout and granular cache invalidation
Ansible's fact caching mechanism allows system information to be stored in backends such as Redis or JSON files to optimize playbook execution. When gather_facts is set to smart , the engine relies on the fact_caching_timeout setting to determine if the stored data is still valid. While the global timeout manages the expiration of the entire host cache, ther