Hi I'm trying to set up a quick test host and have added this entry in my ~/.ssh/config:
# Test host Host imapsync Hostname 2001:610:148:f00d:20c:29ff:fe14:ccfe Just issuing "ssh imapsync" works fine. I have this corresponding in my ansible inventory: # test host imapsync But when I try to run "ansible imapsync -m setup", I get: "SSH Error: data could not be sent to the remote host. Make sure this host can be reached over ssh". It turns out that the literal IPv6 address is the culprit. If I enable IPv4 on the host and change the ssh config to: # Test host Host imapsync Hostname 192.87.38.66 Then things work. Is there another way of specifying a literal IPv6 address. PS I also tested using DNS by adding the name to /etc/hosts, and that seems to work as well. But the whole point of having ssh config's "Hostname" and ansible's inventory is to no use DNS. Thanks! -- Dick Visser Sr. System & Network Engineer GÉANT Want to join us? We're hiring: https://www.geant.org/jobs -- 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 post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAEQQDNnn9cuU_Hn6wvxZe5%2B%2BjZw7XUvfbx3wPuM2dh4qvT%2B-_g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
