prepare_vmware_test: avoid the dependency on jmespath (#63344)

We don't really need to depend on jmespath for this.
pull/62886/head
Gonéri Le Bouder 5 years ago committed by GitHub
parent 904e8434db
commit 7de70bde52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -8,11 +8,7 @@
- name: Get Category id for {{ cluster_category }}
set_fact:
cluster_category_id: "{{ item.category_id }}"
with_items:
- "{{ cat_info.tag_category_info | json_query(query) }}"
vars:
query: "[?category_name=='{{ cluster_category }}']"
cluster_category_id: "{{ cat_info.tag_category_info[0].category_id }}"
- name: Create a tag for cluster
vmware_tag:

Loading…
Cancel
Save