nautobot / nautobot-ansible

Ansible Collection for managing Nautobot Data
https://nautobot-ansible.readthedocs.io/en/latest/
GNU General Public License v3.0
40 stars 31 forks source link

Add Capability to Support IPv6 Host in Primary IP #352

Closed jvanderaa closed 2 hours ago

jvanderaa commented 2 months ago

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.