I want to create a vm with a name a little bit different of his hostname
like below and use the variable hostname in my methods
So this is what i’m trying to do but it’s isn’t working and i suppose the name is the same element as the hostname ?
and if i play the method inspectMe on this VM, the field hostname is empty and i don’t know why
Another solution but i don’t know how i can do that, it’s to find the parameter linux_domain_name but not during the provisioning but at any time like when i want to perform an ansible job and populate the inventory like that : name.linux_domain_name