mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 00:43:06 -06:00
DCD-484: Add ability to install from the tarball rather than the installer.
This commit is contained in:
15
roles/product_install/tasks/unpack_tarball.yml
Normal file
15
roles/product_install/tasks/unpack_tarball.yml
Normal 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"
|
||||
Reference in New Issue
Block a user