Mixing sudo and dzdo

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

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 – though I will say the pull request has a much higher chance of getting dealt with sooner :slight_smile: