DCD-484: Add ability to install from the tarball rather than the installer.

This commit is contained in:
Steve Smith
2019-07-11 12:42:28 +10:00
parent 26d2e4cbd4
commit 94a16a6731
8 changed files with 127 additions and 17 deletions

View File

@@ -0,0 +1,15 @@
---
- name: Unpack the product packages
unarchive:
remote_src: true
src: "{{ atl_product_download }}"
dest: "{{ atl_product_installation_versioned }}"
owner: "{{ atl_product_user }}"
group: "{{ atl_product_user }}"
mode: 0755
# Strip off the lead product/version specific directory to normaise naming
extra_opts:
- "--strip-components=1"
# NOTE: Currently all products contain a `README.txt`, so use that as an 'unpacked' marker.
creates: "{{ atl_product_installation_versioned }}/README.txt"