ansible AWX is connecting through ssh as root instead of user defined in credential
According to https://docs.ansible.com/ansible/latest/user_guide/playbooks_intro.html

it should be remote_user: if it still does not work, run the playbook with -vvvv and add the log to the Q&amp;A.