handle the nested response
the response from the search endpoint is now wrapped in a map with the packages key
This commit is contained in:
parent
8b92ab9edc
commit
580bf9348b
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@
|
||||||
|
|
||||||
- name: use the custom package url instead of the repository
|
- name: use the custom package url instead of the repository
|
||||||
set_fact:
|
set_fact:
|
||||||
es_custom_package_url: "{{ snapshots.json[package_name]['url'] }}"
|
es_custom_package_url: "{{ snapshots.json['packages'][package_name]['url'] }}"
|
||||||
es_use_repository: false
|
es_use_repository: false
|
||||||
|
|
||||||
- name: set snapshot urls for es_plugins when it is defined
|
- name: set snapshot urls for es_plugins when it is defined
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue