Why Are My Jobs Failing With 'Cannot Allocate Memory' using Ansible?

Solution In Progress - Updated -

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.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.