Skip to content
This repository has been archived by the owner on Jul 17, 2023. It is now read-only.

API name=A, hostname=B, but inventory provides only hostname=A and hostname_short=A #21

Open
RobertKosten opened this issue Aug 25, 2021 · 0 comments

Comments

@RobertKosten
Copy link

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)?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant