nautobot-ansible
nautobot-ansible copied to clipboard
Add Capability to Support IPv6 Host in Primary IP
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:
- Tests
- Updated Doc string
I am looking to get some eyes on the code itself.