Hello:
I’m kind of new using VMWare dynamic inventory plugin vmware_vm_inventory in AWX.
I was wondering if there is a way to return the VM ip address in the hostname_variable in AWX VMware dynamic inventory.
I’m using AWX 12.0.0 and Ansible 2.9.9 running on CentOS 8 server.
I was able to get the result of alias_pattern: “{{ config.name }}” in the hostname_variable for each instance but I didn’t find a way to get the VM ip address. In my case the name of the VM in vCenter does not work. I to target servers using the ip address.
Please, could you share some of your knowledge and tell me if is it possible?
Thanks in advance.
Best regards,
Alfredo.