mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-13 08:23:06 -06:00
DCD-1525: Jira core uses hardcoded url to get latest version
This commit is contained in:
9
roles/product_install/tasks/jira-core_version_latest.yml
Normal file
9
roles/product_install/tasks/jira-core_version_latest.yml
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
- name: Fetch the latest version from URL
|
||||||
|
set_fact:
|
||||||
|
atl_product_version_json: "{{ lookup('url', 'https://marketplace.atlassian.com/rest/2/products/key/jira-software/versions') }}"
|
||||||
|
|
||||||
|
- name: Set the local var to retrieved version
|
||||||
|
set_fact:
|
||||||
|
atl_latest_version: "{{ atl_product_version_json._embedded.versions[0].name }}"
|
||||||
Reference in New Issue
Block a user