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:
David Leatherman 2018-07-09 11:02:58 -04:00
parent 8b92ab9edc
commit 580bf9348b

View file

@ -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