Why am I Getting 'ImportError: cannot import name cleanup' While Running any Job in Ansible Tower ?

Solution Verified - Updated -

Issue

When running anything that invokes ansible or ansible-playbook from Ansible Tower, there is an error:

ImportError: cannot import name cleanup

Environment

Ansible Tower >=3.1

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