mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-13 16:33:08 -06:00
DCD-224: Refactor of product installer role.
This commit is contained in:
13
roles/product_install/tasks/product_version_latest.yml
Normal file
13
roles/product_install/tasks/product_version_latest.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
|
||||
# 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
|
||||
set_fact:
|
||||
atl_product_version_json: "{{ lookup('url', '{{ atl_product_latest_version_url }}') }}"
|
||||
|
||||
- name: Set the local var to retrieved version
|
||||
set_fact:
|
||||
atl_product_version: "{{ atl_product_version_json.version }}"
|
||||
Reference in New Issue
Block a user