How to limit fact gathering in Ansible
Issue
- In certain situations an Ansible Playbook using gather_facts: true takes a very long time to gather the facts. An example of such a situation is a system with lots of SAN disks attached
Environment
- Red Hat Enterprise Linux
- Red Hat Ansible Automation Engine
- Red Hat Ansible Automation Platform
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.