-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remove redundant libraryitems example modules #580
base: main
Are you sure you want to change the base?
remove redundant libraryitems example modules #580
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #580 +/- ##
=======================================
Coverage 37.04% 37.04%
=======================================
Files 145 145
Lines 11398 11398
Branches 2262 2262
=======================================
Hits 4222 4222
Misses 7176 7176
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Build succeeded. ✔️ ansible-test-cloud-integration-vmware-rest SUCCESS in 14m 56s |
- name: Get the list of items of the NFS library | ||
vmware.vmware.content_library_item_info: | ||
library_id: '{{ nfs_lib.id }}' | ||
register: lib_items | ||
|
||
- name: Use the name to identify the item | ||
set_fact: | ||
my_template_item: "{{ lib_items.value | selectattr('name', 'equalto', 'golden-template')|first }}" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these tasks are needed for the next task. my_template_item
is used.
itd be better if you could just use the output from the first time vcenter_vmtemplate_libraryitems
is called, but I am not sure thats possible. Youll have to test it out
SUMMARY
remove redundant vcenter_vmtemplate_libraryitems example modules
ISSUE TYPE
COMPONENT NAME
vcenter_vmtemplate_libraryitems