This PR adds logic to handle both IPv6 and IPv4. It introduces a preference for the host address type, with a fallback to the other. This makes sure that if a primary IP address is defined, even if not the full preference, that ansible host still works. Such in an IPv6 migration.
This PR adds logic to handle both IPv6 and IPv4. It introduces a preference for the host address type, with a fallback to the other. This makes sure that if a primary IP address is defined, even if not the full preference, that ansible host still works. Such in an IPv6 migration.
WIP Items:
I am looking to get some eyes on the code itself.