ITPLT-4583 rework latest version URL logic for all products

This commit is contained in:
Lee Goolsbee
2025-11-03 17:10:35 -06:00
parent 43f966fa13
commit 6439160176
4 changed files with 10 additions and 21 deletions

View File

@@ -1,9 +0,0 @@
---
- name: Fetch the latest version from URL
ansible.builtin.set_fact:
atl_product_version_json: "{{ lookup('url', '{{ atl_mpac_api_base_url }}/parent-software/jira/versions?state=ACTIVE&limit=1') }}"
- name: Set the local var to retrieved version
ansible.builtin.set_fact:
atl_latest_version: "{{ atl_product_version_json.versions[0].versionNumber }}"

View File

@@ -0,0 +1 @@
product_version_latest.yml