Hi Everyone,
I’m a noob on AWX and I’m starting to use it. It’s working fine, but I have a issue when I tried to create an inventory based on VMware.
The importation of the VMs are correct, but per each VM imported the Variables field of each of them have default values belong on vmware_VM_inventory.py
default: [ ‘name’, ‘config.cpuHotAddEnabled’, ‘config.cpuHotRemoveEnabled’,
‘config.instanceUuid’, ‘config.hardware.numCPU’, ‘config.template’,
‘config.name’, ‘config.uuid’, ‘guest.hostName’, ‘guest.ipAddress’,
‘guest.guestId’, ‘guest.guestState’, ‘runtime.maxMemoryUsage’,
‘customValue’, ‘summary.runtime.powerState’, ‘config.guestId’,
]
I would like to not import this information, because if this variables field is not empty, all playbooks fails me.
I don’t know if it’s possible to ignore this variables when I execute a playbook or I can to import the VMs without this data.
I tried to modify the vmware_VM_inventory.py script and remove all fields of “properties” but if I do that, the import stops working.
As I told previously, I’m starting to take my first steps in this world and I’m stuck at this point.
Kind Regards