The remote user has sudo access though so there is no need to become root 
directly.

On Friday, 13 May 2016 21:58:00 UTC+2, Johannes Kastl wrote:
>
> On 13.05.16 17:45 MangusB rother wrote: 
>
> > name: Test 
> >   hosts: "{{GLB_ansible_tower_machine}}" 
> >   remote_user: "{{GLB_remote_user}}" 
> >   become: yes 
> >   become_user: "{{GLB_remote_user}}" 
>
> Normally you want to elevate your rights to root, so this should be 
> "become_user: root". Now you elevate to yourself again... 
>
> Johannes 
>
>

-- 
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/34a70771-6d08-463b-a93c-2d0264d56ef1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to