prepare_vmware_test: avoid the dependency on jmespath (#63344)
We don't really need to depend on jmespath for this.
This commit is contained in:
parent
904e8434db
commit
7de70bde52
1 changed files with 1 additions and 5 deletions
|
@ -8,11 +8,7 @@
|
||||||
|
|
||||||
- name: Get Category id for {{ cluster_category }}
|
- name: Get Category id for {{ cluster_category }}
|
||||||
set_fact:
|
set_fact:
|
||||||
cluster_category_id: "{{ item.category_id }}"
|
cluster_category_id: "{{ cat_info.tag_category_info[0].category_id }}"
|
||||||
with_items:
|
|
||||||
- "{{ cat_info.tag_category_info | json_query(query) }}"
|
|
||||||
vars:
|
|
||||||
query: "[?category_name=='{{ cluster_category }}']"
|
|
||||||
|
|
||||||
- name: Create a tag for cluster
|
- name: Create a tag for cluster
|
||||||
vmware_tag:
|
vmware_tag:
|
||||||
|
|
Loading…
Reference in a new issue