How do I Pass Environment-level Variables for ansible-playbook Runs When Executed Through Ansible Tower?

Solution In Progress - Updated -

Issue

Variables sourced by your shell session such as bash_profile, bashrc, etc are not sourced for the awx user at runtime.

Some common examples:

export ANSIBLE_KEEP_REMOTE_FILES = 1
export ANSIBLE_DEBUG = 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.