become method - pbrun and su

Hi,

On our servers we usually do pbrun su - to switch to a privileged application user. These application users have no password set.

But Ansible’s become_method only supports any one method either pbrun or su or sudo.

Sudo is not an option as once servers are in production we loose root/sudo access completely.

Is there any other way that I can use pbrun su ? Did anyone come across this scenario ?

Regards,
Veda

This has been asked and answered many times, search and you'll find

https://groups.google.com/forum/#!searchin/ansible-project/sudo$20su
https://groups.google.com/forum/#!searchin/ansible-project/su$20pbrun

https://groups.google.com/d/msg/ansible-project/v7_ShNALPC8/JLSTcBp6DQAJ