ansible / awx

AWX provides a web-based user interface, REST API, and task engine built on top of Ansible. It is one of the upstream projects for Red Hat Ansible Automation Platform.
Other
14k stars 3.42k forks source link

vSphere Automation SDK not included, vmware tags not supported in inventory #8734

Open anasskh opened 3 years ago

anasskh commented 3 years ago
ISSUE TYPE

SUMMARY

VMware dynamic inventory pulling the tag with empty value

STEPS TO REPRODUCE

Sync with vcenter

ENVIRONMENT

Ansible 2.9.14 AWX Version 15.1 vshpere 6.5

Sources Variables:

hostnames:

EXPECTED RESULTS I expected sync VM with tags value and filter with tag to create inventory by Environments.

ACTUAL RESULTS

i get tags with empty value like these tag: []

image

Thanks for your time .

wenottingham commented 3 years ago

vSphere Automation SDK is required for tags, it is not included out of the box.

anasskh commented 3 years ago

yes it work when i install the vSphere Automation SDK direct on the container .

Thanks .