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

@@ -6,8 +6,8 @@
- name: Fetch the latest version from URL
ansible.builtin.set_fact:
atl_product_version_json: "{{ lookup('url', '{{ atl_product_latest_version_url }}') }}"
atl_product_version_json: "{{ lookup('url', '{{ atl_mpac_product_latest_version_url }}') }}"
- name: Set the local var to retrieved version
ansible.builtin.set_fact:
atl_latest_version: "{{ atl_product_version_json._embedded.versions[0].name }}"
atl_latest_version: "{{ atl_product_version_json.versions[0].versionNumber }}"