Issues with become

I am having permission issues on the remote hosts when running playbooks.

I have reproduced the issue with a simple playbook:

test setup

If you need to sudo enabled during the playbook run then you’ll need to turn on privilege escalation for the credential that you are using, or turn it on in the job template screen.

I have the following set for the credentials being used:

`

Privilege Escalation Method: sudo
Privilege Escalation Username: esadmin
Privilege Escalation Password: (encrypted)

`
I have also tried setting ‘Enable Privilege Escalation’ in the template.

I still get the same results.

Turn privilege escalation on for the job template

I have this checked:
Under TEMPLATES / setupDETAILS
Enable Privilege Escalation?

Or am I missing a setting elsewhere in the UI?

Thanks

I do see where you have privilege escalation enabled, sorry about that.

Our output is going to differ a little bit from Ansible, when I run a similar test the privilege escalation does work for me.