Why Do I Receive A [Errno 13] Permission Denied Message When Executing a Custom Inventory Script From Git?

Solution Verified - Updated -

Issue

When executing a custom inventory script from Git, you may receive the following error:

RuntimeError: ansible-inventory failed with stdout:
stderr: [WARNING]:  * Failed to parse /var/lib/awx/projects/_6__github/scripts/custom_inv1.py with script plugin:
problem running /var/lib/awx/projects/_6__github/scripts/custom_inv1.py --list [Errno 13] Permission denied.

Environment

  • Ansible Tower

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