gbeke
Enthusiast
Enthusiast

Inventory file entry, should it be ip or hostname?

Hi all,

I've been trying to find information on how vRA 8 uses Ansible. Looking at the links listed below my understanding is that the inventory file should be populated with the ip adress of the server and a subdirectory with the ip of the server as name will be created under host_vars directory. When I deploy a server the hostname is stored in the inventory file and used as a name for the subdirectory under host_vars directory. This may be a problem since we have many domains and potentially the same hostname may be used in different domains. Is there a way i can force the ip to be used? vRA version is 8.6. Thanks.

https://as.zabedu.ru/en/virtual2/vmware2/vrealize2/vra8-ansible-en
https://vmguru.com/2019/10/opensource-configuration-management-tools-integration-with-vrealize-autom...
https://blogs.vmware.com/management/2020/07/deeper-look-at-the-vrealize-automation-and-ansible-open-...

 

Labels (2)
0 Kudos
0 Replies