# powerbroker (pbrun) solutions?

**URL:** <https://forum.ansible.com/t/powerbroker-pbrun-solutions/15600>\
**Category:** Ansible Project\
**Created:** [July 3, 2014, 3:47pm UTC](https://forum.ansible.com/t/powerbroker-pbrun-solutions/15600 "2014-07-03T15:47:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nathan\_Robertson](https://avatars.discourse-cdn.com/v4/letter/n/bbe5ce/32.png) [@Nathan\_Robertson](https://forum.ansible.com/u/Nathan_Robertson)\
**Post date:** [July 3, 2014, 3:47pm UTC](https://forum.ansible.com/t/powerbroker-pbrun-solutions/15600/1 "2014-07-03T15:47:38Z")

</div>

I saw some people talk about implementing a pbrun solutions into Ansible but last I see is people just running shell and command tasks to do all the work. We access a wide range of systems and only a small portion of them use pbrun at the moment. Did anyone ever find a good way to use pbrun with the majority of the ansible task types. I saw someone say they had a wrapper. I do not have the time to go over ansible, sudo, and pbrun to find a solution so if anyone else has one I would appreciate some guidance.

Thank you,

---

<div class="post-metadata">

**Author:** ![Brian\_Coca1](https://avatars.discourse-cdn.com/v4/letter/b/278dde/32.png) [@Brian\_Coca1](https://forum.ansible.com/u/Brian_Coca1)\
**Post date:** [July 3, 2014, 4:07pm UTC](https://forum.ansible.com/t/powerbroker-pbrun-solutions/15600/2 "2014-07-03T16:07:07Z")

</div>

it could be implemented the same way su got added as a sudo alternative.

---

<div class="post-metadata">

**Author:** ![Nathan\_Robertson](https://avatars.discourse-cdn.com/v4/letter/n/bbe5ce/32.png) [@Nathan\_Robertson](https://forum.ansible.com/u/Nathan_Robertson)\
**Post date:** [July 3, 2014, 7:02pm UTC](https://forum.ansible.com/t/powerbroker-pbrun-solutions/15600/3 "2014-07-03T19:02:20Z")

</div>

In general it looks like pbrun works similar to sudo but with a few different arguments. Is there a place I could read about how Ansible uses sudo? Maybe I can just write a wrapper script that translates ansible’s sudo commands into pbrun commands.

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan1](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Post date:** [July 3, 2014, 8:01pm UTC](https://forum.ansible.com/t/powerbroker-pbrun-solutions/15600/4 "2014-07-03T20:01:45Z")

</div>

No real place to read about the “how” other than the code.

it has been suggested the arguments sudo usually uses be made more configurable in which case this might be easy to drop in as a replacement.
