File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 2020 - name : Fetch dependencies.json for capi-helm-charts release
2121 ansible.builtin.uri :
2222 url : https://raw.githubusercontent.com/azimuth-cloud/capi-helm-charts/{{ capi_helm_chart_release_data.json.tag_name }}/dependencies.json
23+ return_content : true
2324 register : dependencies_response
2425
2526 - name : Ensure wget packages is installed
2930 state : present
3031
3132 - name : Fetch manifest.json for capi-helm-charts images # noqa command-instead-of-module
33+ vars :
34+ dependencies : " {{ dependencies_response.content }}"
3235 # ansible.builtin.uri:
3336 # url: https://raw.githubusercontent.com/azimuth-cloud/azimuth-images/{{ dependencies_response.json['azimuth-images'] }}/manifest.json
3437 # Above URL returns 404 even though similar URL for capi-helm-charts repo works fine
3538 # Not sure why but fall back to wget + JSON parsing for now.
3639 ansible.builtin.command : >-
37- wget -O - https://github.com/azimuth-cloud/azimuth-images/releases/download/{{ dependencies_response.json ['azimuth-images'] }}/manifest.json
40+ wget -O - https://github.com/azimuth-cloud/azimuth-images/releases/download/{{ dependencies ['azimuth-images'] }}/manifest.json
3841 register : manifest_response
3942 changed_when : false
4043
You can’t perform that action at this time.
0 commit comments