Hi all,

      I'm new with ansible and I trying to connect ansible version 2.9 runs 
on CentOS with EXOS switch. I tried to connect via SSH using certificates, 
I put the pub certificate into EXOS switch and try to use command 
ssh-copy-id, but fails.
      In addiction I try to connect using some commands into yaml file, 
like:
       - ansible_network_os: exos
       - ansible_connection: network_cli
       All my tests are fail and I can't connection on switch. When I run 
for example ansible 'device name' -m ping the system show me this error.
 UNREACHABLE! => {
    "changed": false,
    "msg": "Failed to connect to the host via ssh: user@device: Permission 
denied (publickey,password).",
    "unreachable": true

       Anybody can help me with that ?

-- 
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/5274be62-247e-4549-9b37-123fc44ababbn%40googlegroups.com.

Reply via email to