Why Ansible playbook hanging indefinitely with no progress past fact gathering?
Issue
- Playbook hangs indefinitely when
gather_factsis enabled (the default), meaning that Ansible cannot get past the initial setup module. - Playbook hangs indefinitely during a
service_factstask or any task that queries system services.
Environment
- Red Hat Ansible Engine
- Red Hat Ansible Tower 3
- Red Hat Ansible Automation Platform 2.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.