Why Are Changes To AWX_TASK_ENV Variables Set Through Extra Environment Variables in Ansible Tower UI or API Not Persisting?

Solution Verified - Updated -

Issue

Changes to AWX_TASK_ENV variables are not persisting when set through Tower UI or API.

I've tried setting it through Tower UI > Settings > Jobs > Extra Environment Variables and from Tower API using the below API endpoint.

 https://<tower-url>/api/v2/settings/jobs/

Environment

  • Ansible Tower 3.3+

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