ansible/ansible — pull request #7539 by jimi-c (2014-05-25 20:09:51+00:00)
Title: Fixes for su on freebsd

Addresses multiple issues when using su on freebsd including
* su prompt differs between platforms, so turned that check into a
regex comparison instead of a simple string comparison
* not using '-c' after su causes problems, so added that for all
platforms
* fixed quoting issues due to multiple uses of '-c' introduced by
the above fix

Fixes #7503
Fixes #7507