How to use pbrun_exe in 1.9+

Hi,

running ansible 2.0.0 from git repo.
I’m very excited to try out the new become feature with powerbroker, but I’m struggling to get it to work with our setup.
I do realize this feature is still alpha btw :wink:

I read that there is a setting ''pbrun_exe", just like su_exe, but I cannot get it to work.
I would like to try it, since our powerbroker profiles are very strict and pbrun can run very few commands.
However, for installation purposes we can get root elevation, so pbrun su root is allowed.
So I would basically like to run all commands that way.

This works fine for adhoc commands btw, if I use su_exe = pbrun su root, then I can run single commands and even modules.
But for playbooks this doesn’t seem to work.

Any pointers on how I can get this to work?

Kind regards,
Wim

ansible does not support chaining privilege escalation methods and
requires permissive access to run commands as a user
http://docs.ansible.com/become.html (read notes)