You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the vmware_content_library_info task type to query our Content Libraries, only the Libraries with the type of "Local" are reported back to the ansible task. We used shared or "Subscribed" Content Libraries in our environment, to share a consistent Library of VM Templates between all of our vCenters.
vCenter Version - 7.0.3 build 20150588
Client - vSphere Client version 7.0.3.00700
Hosts - VMware ESXi, 7.0.3, 20036589
STEPS TO REPRODUCE
- name: "Collect list of Content Libraries from specified vCenter"community.vmware.vmware_content_library_info:
hostname: "{{ hostname }}"username: "{{ username }}"password: "{{ password }}"validate_certs: noregister: libraries
- name: "Display list of found Content Libraries"debug:
var: libraries
EXPECTED RESULTS
TASK [Display list of found Content Libraries] ****************************************************************************************************************************ok: [localhost] => {"libraries": {"changed": false,"content_libs": ["6b5e0c60-3173-4a75-8101-33335f3bb7dd","7bd40369-84d6-4fd5-9cf9-7c33377f3931"],"failed": false}}
ACTUAL RESULTS
TASK [Display list of found Content Libraries] ****************************************************************************************************************************ok: [localhost] => {"libraries": {"changed": false,"content_libs": ["6b5e0c60-3173-4a75-8101-33335f3bb7dd"],"failed": false}}
The text was updated successfully, but these errors were encountered:
However, it looks like vmware_content_library_info still doesn't know about subscribed content libraries in the latest release. I'll try to work on this, but you probably would have to update to (at least) community.vmware 2.9.0.
SUMMARY
When using the vmware_content_library_info task type to query our Content Libraries, only the Libraries with the type of "Local" are reported back to the ansible task. We used shared or "Subscribed" Content Libraries in our environment, to share a consistent Library of VM Templates between all of our vCenters.
How can we get this functionality added?
ISSUE TYPE
COMPONENT NAME
vmware_content_library_info
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
vCenter Version - 7.0.3 build 20150588
Client - vSphere Client version 7.0.3.00700
Hosts - VMware ESXi, 7.0.3, 20036589
STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: