# awx ansible\_user and ansible\_ssh\_pass

**URL:** <https://forum.ansible.com/t/awx-ansible-user-and-ansible-ssh-pass/33879>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [September 23, 2020, 2:18pm UTC](https://forum.ansible.com/t/awx-ansible-user-and-ansible-ssh-pass/33879 "2020-09-23T14:18:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![John\_Ratliff](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/john_ratliff/32/3007_2.png) [@John\_Ratliff](https://forum.ansible.com/u/John_Ratliff)\
**Post date:** [September 23, 2020, 2:18pm UTC](https://forum.ansible.com/t/awx-ansible-user-and-ansible-ssh-pass/33879/1 "2020-09-23T14:18:42Z")

</div>

I’m trying to use these variables in a playbook.

I have a test awx environment, and a production one. In the test environment, the ansible\_user and ansible\_ssh\_pass are always set to the machine credentials.

In the prod environment, ansible\_ssh\_pass is set correctly, but ansible\_user and ansible\_ssh\_user are always set to root…

Any ideas why the ansible\_user is being set to root in my production environment instead of using the machine credential username?

This is the playbook I used to test. It’s fairly simple.
