you can try setting the sudo exe to 'sudo rootsh' and add -i as a sudo flag
(though ansible tries to avoid login shells for good reasons).


​Another option would be to set rootsh as the only available shell, then
setting the executable​ setting to rootsh should also work.

----------
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/CACVha7eA5Amx0HUbw5Sar-TTNQG8LEDkXx64CggdK4QtJWddpQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to