mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-13 16:33:08 -06:00
14 lines
510 B
YAML
14 lines
510 B
YAML
---
|
|
|
|
# This is the process for most products (except ServiceDesk
|
|
# basically). Symlink this to <edition>_version_latest.yml for each
|
|
# product that supports the standard marketplace API.
|
|
|
|
- name: Fetch the latest version from URL
|
|
ansible.builtin.set_fact:
|
|
atl_product_version_json: "{{ lookup('url', '{{ atl_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 }}"
|