Hello,
I just started on Ansible for NetApp automation, I was trying to ping a netapp A220 (ontap 9.5) using Ansible, but i get the issue and the issue is as listed,
redhat@ansible# ansible all - m ping
xxx.xxx.xxx.xxx| UNREACHABLE! => {
"changed": false,
"msg": "Failed to connect to the host via ssh: ",
"unreachable": true
}
i know that the systms are connected, they find each other, both can be reached, the controller(redhat) and the managed system(netapp) were correctlly configured. but when i use ansible to ping netapp, brought these issue. no chance to get the issue out.
please, i am searching for a solution,
my agenda:
-they were tow hosts (controller/ansible) and the netapp. both correctly configured (two ip’s),
-on the ontap i create a user which had (publickey or password, ssh [protocol], admin[role])
-the hosts file include those information’s
did i forget something,
How can I acheive this?? with ansible
xx.xx.xxx.xxx | SUCCESS => {
"ansible_facts": {
"discovered_interpreter_python": "/usr/bin/python"
},
"changed": false,
"ping": "pong
}