I'm maybe wrong, but it is my understanding that ansible modules don't use 
a shell underneath (except the shell module).

If you want to use a task to remotely run a command, you should use the 
shell/command module.

El miércoles, 25 de noviembre de 2020 a la(s) 12:19:43 UTC-6, 
[email protected] escribió:

> Hi,
>
> I wanted to use with other modules like yum 
> Regards 
> Priyal Patil
>
>
> On Monday, November 23, 2020, Roberto Paz <[email protected]> wrote:
>
>> If you are planning to use it as part of a "shell" module, this provides 
>> an attribute to specify the shell to be used.
>>
>> The attribute for the module is "executable".
>>
>>
>> https://docs.ansible.com/ansible/latest/collections/ansible/builtin/shell_module.html
>>
>>
>> El lunes, 23 de noviembre de 2020 a la(s) 05:39:39 UTC-6, 
>> [email protected] escribió:
>>
>>> Hi,
>>>
>>> Anyone knows if this can be achieved to to become root user thorugh, if 
>>> we are using EKSH.
>>>
>>> sudo  /usr/localcw/bin/eksh  
>>>
>>> Regards
>>> Priyal Patil
>>>
>> -- 
>> 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 view this discussion on the web visit 
>> https://groups.google.com/d/msgid/ansible-project/62e3dbd4-6901-4a3d-a3ae-f57a697739e0n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/ansible-project/62e3dbd4-6901-4a3d-a3ae-f57a697739e0n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/68194a4f-a93b-44c2-8f5d-a54edddeddf1n%40googlegroups.com.

Reply via email to