url updated for version fetch

This commit is contained in:
Jun
2022-05-11 10:55:59 +10:00
parent 8cbe957c76
commit 6d816bad7c
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@
atl_latest_version: '' atl_latest_version: ''
atl_cached_version: '' atl_cached_version: ''
atl_product_latest_version_url: "https://marketplace.atlassian.com/rest/2/applications/{{ atl_product_family }}/versions/latest" atl_product_latest_version_url: "https://marketplace.atlassian.com/rest/2/products/key/{{ atl_product_family }}/versions"
atl_product_version_cache_dir: "{{ atl_product_home_shared }}" atl_product_version_cache_dir: "{{ atl_product_home_shared }}"
atl_product_version_cache: "{{ atl_product_home_shared }}/{{ atl_product_edition }}.version" atl_product_version_cache: "{{ atl_product_home_shared }}/{{ atl_product_edition }}.version"

View File

@@ -10,4 +10,4 @@
- name: Set the local var to retrieved version - name: Set the local var to retrieved version
set_fact: set_fact:
atl_latest_version: "{{ atl_product_version_json.version }}" atl_latest_version: "{{ atl_product_version_json._embedded.versions[0].name }}"