Does the cli_command module require python on the remote host?
No, it's for use with network devices and majority of them doesn't have Python.
> Does the cli_command module require python on the remote host?
No, it's for use with network devices and majority of them doesn't have Python.
How does it send the command? Does it look for a shell or sends
it in a expect-like fashion?
It depends, I recommend reading the docs since it has all the information
https://docs.ansible.com/ansible/latest/network/index.html
https://docs.ansible.com/ansible/latest/network/getting_started/network_differences.html
>>
>>> Does the cli_command module require python on the remote host?
>>
>> No, it's for use with network devices and majority of them doesn't have Python.
>>
> How does it send the command? Does it look for a shell or sends
> it in a expect-like fashion?It depends, I recommend reading the docs since it has all the information
https://docs.ansible.com/ansible/latest/network/index.html
https://docs.ansible.com/ansible/latest/network/getting_started/network_differences.html
And that explains why what I am trying to do does not work.
Thanks!