Thanks, it works now with su_exe but still does not work with become_exe. 
But I am not sure if it supposed to be working with become_exe.

Edgar

trešdiena, 2015. gada 2. septembris 12:02:39 UTC+2, Edgars rakstīja:
>
> Hi
>
> I just pulled latest ansible from git and installed it. And it seems that 
> su_exe functionality is not working anymore. Regardless of what I set as 
> su_exe, ansible tries to execute su. I also tried to set become_exe to 
> something else not su but ansible executes su.
>
> [privilege_escalation]
> become = True
> become_ask_pass = True
> become_user = root
> become_method = su
> become_exe = /opt/CA/AccessControl/bin/sesu
> become_flags = -
>
> EXEC /bin/sh -c 'su  root -c "/bin/sh -c '"'"'echo 
>> BECOME-SUCCESS-qvthdnsaxbhytsulkyamdelobeatwxnn;
>
>
> Edgars
>

-- 
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/e668eeef-2931-435e-a2ff-4867759522c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to