ansible/ansible — pull request #814 by willthames (2012-08-09 04:46:35+00:00)
Title: Added su capability

Uses -S command line flag - no flag needed for setting
password, that gets requested automatically

sudo and su paths are now handled differently for the password prompt.

Have tested this with su and sudo users, both seem to work the same as before. Having reread the discussion on #744, I hope there are not enough fundamental reasons not to accept this as I have explained my use case.

While this may be better implemented in a different way after further abstracting the connection type, this is what I need for my purposes right now.