Should be able to do this with ssh-config.
Don't forget to tell your client to fix their brain-dead DNS! :-)
On 13 January 2015 at 02:04, John Oliver wrote:
> I've run into a minor problem where one of my hosts has an record for
> an address assigned via DHCP6, but it isn't acquiring that
Off the top of my head:
1. Do the IPv4 and IPv6 addresses have different hostnames in DNS? If
so, use the hostname for the address that's usable.
2. In the ansible machine's .ssh/config file, you can enter something
like this:
HOST problem-hostname
AddressFamily inet
According
I've run into a minor problem where one of my hosts has an record for
an address assigned via DHCP6, but it isn't acquiring that address. I can
connect via the IPv4 address just fine. I'm looking for a switch to tell
ansible / ansible-playbook to force a connection over one protocol so I