DCD-224: Rename product_download to tgz_download in prep for an alternative installer.

This commit is contained in:
Steve Smith
2019-05-07 15:37:41 +10:00
parent b98a485fa8
commit 9b9860a5ef
49 changed files with 11 additions and 11 deletions

View File

@@ -0,0 +1,21 @@
---
- name: Check for existing version cache file
stat:
path: "{{ atl_product_version_cache }}"
register: cached
# Case: File exists, always use its value
- name: Use version for product version
block:
- name: Read cached version from file
command: "cat {{ atl_product_version_cache }}"
register: atl_product_version_file
changed_when: false
- name: Set the local var to cached version
set_fact:
atl_product_version: "{{ atl_product_version_file.stdout }}"
when: cached.stat.exists