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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content