Merge pull request #469 from elastic/prep-for-artifacts-api-changes

handle the nested response
This commit is contained in:
Michael Russell 2018-07-11 14:51:12 +02:00 committed by GitHub
commit 89695d781c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,7 +30,7 @@
- name: use the custom package url instead of the repository
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
- name: set snapshot urls for es_plugins when it is defined