# \[help\] Ansible AWX and evn variables

**URL:** <https://forum.ansible.com/t/help-ansible-awx-and-evn-variables/28643>\
**Category:** AWX Project\
**Tags:** awx-project, awx\
**Created:** [September 25, 2018, 2:08pm UTC](https://forum.ansible.com/t/help-ansible-awx-and-evn-variables/28643 "2018-09-25T14:08:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Christopher\_Meyers](https://avatars.discourse-cdn.com/v4/letter/c/3e96dc/32.png) [@Christopher\_Meyers](https://forum.ansible.com/u/Christopher_Meyers)\
**Post date:** [September 25, 2018, 2:08pm UTC](https://forum.ansible.com/t/help-ansible-awx-and-evn-variables/28643/1 "2018-09-25T14:08:24Z")

</div>

The variables field is for Ansible extra\_vars that will be injected in a playbook run, not an inventory sync. It looks like you want ENV vars injected into your custom inventory script during an inventory sync. For that, you can use a custom credential type. [https://docs.ansible.com/ansible-tower/latest/html/userguide/credential\_types.html](https://docs.ansible.com/ansible-tower/latest/html/userguide/credential_types.html)

> **(attachments)**
>
> ![Auto Generated Inline Image 1.png](https://us1.discourse-cdn.com/ansible/original/2X/3/3ccfc33115e3edaa91491b781f21ffcfad558942.png)
