Skip to content

Commit

Permalink
Merge pull request #709 from schabrolles/cpd-cli-arch
Browse files Browse the repository at this point in the history
cpd-cli version depending of arch
  • Loading branch information
fketelaars committed May 13, 2024
2 parents 3f8fba3 + 47c30cd commit 0d38022
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@
vars:
query: >-
[?starts_with(name,'cpd-cli-linux-EE')].browser_download_url
when: _cpd_cli_arch == "amd64"

- set_fact:
_cpd_cli_download_url: "{{ _cpd_cli_releases.json.assets | json_query(query) | first }}"
vars:
query: >-
[?starts_with(name,'cpd-cli-{{ _cpd_cli_arch }}-EE')].browser_download_url
when: _cpd_cli_arch != "amd64"

- name: Download latest cpd-cli release
get_url:
Expand Down

0 comments on commit 0d38022

Please sign in to comment.