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 }}
|
||||
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…
Reference in a new issue