From abf7f312c477b2aaa9483a8a6b01313a7f565d8c Mon Sep 17 00:00:00 2001 From: David Moreau-Simard Date: Thu, 19 Oct 2017 11:12:32 -0400 Subject: [PATCH] Use dest instead of src for get_url downloaded resource 'src' is a temporary file reference that exists only for the duration of the download, it is not the location where the file gets downloaded. The location of the downloaded file is the 'dest' key, so use that instead. Change-Id: I2ff1b9c442d1cc88820c49d680567b0b16401ef3 --- roles/set-service-type-data-fact/tasks/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/set-service-type-data-fact/tasks/main.yaml b/roles/set-service-type-data-fact/tasks/main.yaml index 657053a8..d5b7a785 100644 --- a/roles/set-service-type-data-fact/tasks/main.yaml +++ b/roles/set-service-type-data-fact/tasks/main.yaml @@ -7,7 +7,7 @@ - name: Collect service type data for project get_service_type_data: project_name: "{{ zuul.project.short_name }}" - service_types_file: "{{ result.src }}" + service_types_file: "{{ result.dest }}" register: service_type_data - name: Set service_type_data as a fact