Why Is awx-manage inventory_import Command Failing With 'enum has no attribute IntFlag error' When The Command Is Run Via Playbook In Ansible Tower ?

Solution Verified - Updated -

Issue

When running awx-manage inventory_import command from an Ansible Tower job, it is failing with 'enum' has no attribute 'IntFlag' error.

AttributeError: module 'enum' has no attribute 'IntFlag'

Environment

  • Ansible Tower 3.5+

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