ansible_modules icon indicating copy to clipboard operation
ansible_modules copied to clipboard

feat: nb_inventory admin_service_name_with_ip_as_primary_ip : Use IP …

Open pae23 opened this issue 6 months ago • 0 comments

Related Issue

No

New Behavior

feat: nb_inventory admin_service_name_with_ip_as_primary_ip : Use IP attached to a service name as ansible host

Contrast to Current Behavior

It wasn't possible to choose which IP to use. The oob choice wasn't an option because it's used for our IPMI IPs.

Discussion: Benefits and Drawbacks

Declare the service name of your service in netbox, attach it to a device IP and your ansible_host will be set with this IP.

Changes to the Documentation

    admin_service_name_with_ip_as_primary_ip:
        description: Use IP attached to a service name as `ansible host`
        type: string
        default: None

pae23 avatar Aug 01 '24 14:08 pae23