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.