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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content