# Mixing sudo and dzdo

**URL:** <https://forum.ansible.com/t/mixing-sudo-and-dzdo/15210>\
**Category:** Ansible Project\
**Created:** [May 12, 2014, 12:14pm UTC](https://forum.ansible.com/t/mixing-sudo-and-dzdo/15210 "2014-05-12T12:14:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joseph\_Pelizaro](https://avatars.discourse-cdn.com/v4/letter/j/858c86/32.png) [@Joseph\_Pelizaro](https://forum.ansible.com/u/Joseph_Pelizaro)\
**Post date:** [May 12, 2014, 12:14pm UTC](https://forum.ansible.com/t/mixing-sudo-and-dzdo/15210/1 "2014-05-12T12:14:05Z")

</div>

Some of my infrastructure is “controlled” via Centrify and uses dzdo as sudo replacement, the rest just plain sudo.

I can configure sudo\_exe in ansible.cfg (works), but I cannot set this per server as I would need it. Any way to achieve this?

Thanks,

Joseph

---

<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:** [May 12, 2014, 5:11pm UTC](https://forum.ansible.com/t/mixing-sudo-and-dzdo/15210/2 "2014-05-12T17:11:51Z")

</div>

sudo\_exe is presently not configurable as an inventory variable.

Pull requests for this would be entertained (I’d suggest the variable be ansible\_sudo\_exe), otherwise file a feature idea ticket at [github.com/ansible/ansible](http://github.com/ansible/ansible) – though I will say the pull request has a much higher chance of getting dealt with sooner 🙂
