ansible-collection-vultr
ansible-collection-vultr copied to clipboard
API name=A, hostname=B, but inventory provides only hostname=A and hostname_short=A
When I create a new instance, providing the name: "A"
and hostname: "B"
and then use the dynamic inventory script, I get and inventory_hostname_short: "A"
and inventory_hostname: "A"
. Wouldn't it make more sense to provide inventory_hostname_short: "A"
and inventory_hostname: "B"
, potentially with a config option, so it doesn't break previous playbooks? Or at least some other way to access B (it's not in the hostvars)?