Why Are My Jobs Failing With 'Cannot Allocate Memory' using Ansible?
Issue
When running playbooks that utilize several "include" tasks, the control server spikes in memory and the job fails with:
OSError: [Errno 12] Cannot allocate memory
Environment
- Ansible Core <= 2.4.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
