Could it be possible to declare a parameter in the inventory YAML file to allow for lowercase output of the device / vm names? And also convert the spaces to dashes (-) so we could safely refer to a inventory name without having to convert it in the play / role.
All the rest of the fields already map to the slug part of the object, which is by default lowercase and eliminates all of the spaces by converting it to dashes.
NetBox version
v3.1.10
Feature type
Change to existing Plugin
Proposed functionality
Could it be possible to declare a parameter in the inventory YAML file to allow for lowercase output of the device / vm names? And also convert the spaces to dashes (-) so we could safely refer to a inventory name without having to convert it in the play / role.
All the rest of the fields already map to the slug part of the object, which is by default lowercase and eliminates all of the spaces by converting it to dashes.
Use case
$ cat netbox-inventory.yml
$ ansible-inventory --graph -i netbox-inventory.yml
Proposed output
External dependencies
No response