You are mixing up several things.
Start with the example from
https://docs.ansible.com/ansible/latest/network/user_guide/platform_ios.html#example-cli-group-vars-ios-yml



On Sat, 19 Jun 2021 at 18:07, nitesh shet <niteshsh...@gmail.com> wrote:

> Hi experts,
>  I am running below playbook :-
> ---
> - name: "run show version"
>   hosts: servers
>   gather_facts: False
>   tasks:
>    - name: "cli command"
>      ansible.netcommon.cli_command:
>         command: "show chassis-1"
>
> on my centos server with inventory entries is like:-
> [servers]
> 172.16.12.215
>
> [servers:vars]
> ansible_user=temproot
> ansible_ssh_pass=******
> ansible_python_interpreter=/usr/bin/python
> ansible_port=22
> ansible_network_os="ios"
> ansible_connection=ansible.netcommon.network_cli
>
>
> but when i ran playbook i am getting below error:-
> fatal: [172.16.12.215]: FAILED! => {"changed": false, "msg": "paramiko is
> not installed: cannot import name _get_backend"}
>
> but , pip list | grep paramiko
> paramiko        2.7.2
> exist.
> please let me know how to tackle this.
>
>
>
> --
> 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 ansible-project+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/CAPgfy9UNNJ%3DsYZz3OC%2BX1Z0YP2FOv9L0hSL8ZhK%3DyAT%3DLx%2BiNA%40mail.gmail.com
> <https://groups.google.com/d/msgid/ansible-project/CAPgfy9UNNJ%3DsYZz3OC%2BX1Z0YP2FOv9L0hSL8ZhK%3DyAT%3DLx%2BiNA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
-- 
Sent from a mobile device - please excuse the brevity, spelling and
punctuation.

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAL8fbwP9vxGPYCAYLpXtOJNS1rbTKh8nK7mfCd%2B9zHx_zVjsZg%40mail.gmail.com.

Reply via email to