DCD-1525: Jira core uses hardcoded url to get latest version

This commit is contained in:
Jun
2022-05-11 14:47:00 +10:00
parent 3f07d0b9e1
commit e94018d017

View 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 }}"