From 580bf9348b2ea8fd135ce748d81963397050e233 Mon Sep 17 00:00:00 2001 From: David Leatherman Date: Mon, 9 Jul 2018 11:02:58 -0400 Subject: [PATCH] handle the nested response the response from the search endpoint is now wrapped in a map with the packages key --- tasks/snapshot-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/snapshot-release.yml b/tasks/snapshot-release.yml index 2370a4d..f151c18 100644 --- a/tasks/snapshot-release.yml +++ b/tasks/snapshot-release.yml @@ -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