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
This commit is contained in:
David Moreau-Simard 2017-10-19 11:12:32 -04:00
parent 9d84b6bf59
commit abf7f312c4
No known key found for this signature in database
GPG Key ID: 33A07694CBB71ECC

View File

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