ansible_modules
ansible_modules copied to clipboard
feat: nb_inventory admin_service_name_with_ip_as_primary_ip : Use IP …
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