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 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.