Changes after tarball PR was merged

This commit is contained in:
Azra Sulthana
2019-07-15 06:24:23 +00:00
parent 6645ee5369
commit 8f506a16cc
5 changed files with 51 additions and 20 deletions

View File

@@ -1,5 +1,6 @@
---
- name: Check for existing version cache file
stat:
path: "{{ atl_product_version_cache }}"
@@ -124,6 +125,7 @@
dest: "{{ atl_product_version_cache }}"
force: true
# Note: We don't the cache binary in the shared drive to the complexity
# around download race-conditions if multiple nodes are starting at
# the same time. When downloading from product-downloads.atlassian.com
@@ -134,14 +136,12 @@
dest: "{{ atl_product_download }}"
mode: 0755
force: false
when: atl_product_edition!= "crowd"
- name: Create installer varfile
template:
src: "{{ atl_product_family }}.varfile.j2"
dest: "{{ atl_product_varfile }}"
mode: 0755
when: atl_product_edition!= "crowd"
# NOTE: We run the installer as the user rather than root to limit its
# actions. For example, if root and the 'jira' user exists then it
@@ -155,10 +155,6 @@
become_user: "{{ atl_product_user }}"
when: atl_product_edition!= "crowd"
- import_tasks: crowd_install.yml
when: atl_product_edition == "crowd"
- name: Unpack the downloaded application depending on format
include_tasks: "unpack_{{ atl_download_format }}.yml"
@@ -168,4 +164,3 @@
dest: "{{ atl_product_installation_current }}"
state: link
force: true
when: atl_product_edition != "crowd"