DCD-1525: Update version URL

This commit is contained in:
Dylan
2022-05-11 13:17:12 +10:00
parent 2860291c0e
commit a195210b0d
5 changed files with 33 additions and 24 deletions

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