If i run the yum install as the machineAdmin user it is fine on the
machine. Ansible is somehow losing the privledges?
And it's using su machineAdmin cause ansible tower is configured that the
sshUser's privelege escalation is of type su and with credentials for
machineAdmin
(In reality both machineAdmin and sshUser are sudoers and hence an execute
the command)
On Tuesday, March 22, 2016 at 9:35:04 PM UTC+1, Brian Coca wrote:
>
> So in the first debug I see "su machineAdmin" which might not have access
> to the specific action if yum is giving you that message.
>
> @Brandon, this is useless:
>
> remote_user: "{{user_to_use}}"
> become: yes
> become_user: "{{user_to_use}}"
>
> ^ that is the same as writing sudo 'myself', the become_user is the user
> you TURN INTO, the remote_user is the one you login as and that TURNS INTO
> the become_user.
>
>
> --
> ----------
> Brian Coca
>
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/62f51940-ba09-4a9d-b188-02a275ba419e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.