It's currently not configurable on a per inventory variable basis, but
patches to add a ansible_sudo_exe parameter would be considered for sure.




On Fri, Jan 31, 2014 at 6:45 PM, Paul Wolstenholme <[email protected]
> wrote:

> Thanks Brian. I'll give that a try. Although, I would like to use both. We
> have both linux and smartos boxes we would like to do specify within the
> context of a playbook or inventory file. sudo will work on Smartos but
> pfexec seems to be prefered in the Solaris world.
>
> Cheers,
> Paul
>
>
> On Fri, Jan 31, 2014 at 3:23 PM, Brian Coca <[email protected]> wrote:
>
>> If pfexec can take same command line arguments as sudo,
>> use ANSIBLE_SUDO_EXE env variable or sudo_exe entry in ansible .cfg to
>> point to it.
>>
>>  --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "Ansible Project" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/ansible-project/04ASAiptbzU/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected].
>>
>> To post to this group, send email to [email protected].
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>
>
> --
>
> Paul Wolstenholme
> CBC Music - System Administrator
> CBC  Vancouver
> 604.662.6632
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Michael DeHaan <[email protected] <[email protected]>>
CTO, Ansible, Inc.
http://www.ansible.com/ <http://www.ansibleworks.com/>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to