This commit is contained in:
Azra Sulthana
2019-07-11 05:45:24 +00:00
parent 088239cba8
commit 8fbf76ab3e
6 changed files with 11 additions and 18 deletions

View File

@@ -10,7 +10,7 @@ atl_product_version_cache: "{{ atl_product_home_shared }}/{{ atl_product_edition
atl_release_base_url: "https://product-downloads.atlassian.com/software"
atl_product_base_url: "{{ atl_release_base_url }}/{{ atl_product_family }}/downloads"
atl_product_download_url: "{{ atl_product_base_url }}/atlassian-{{ atl_download_edition | default(atl_product_edition) }}-{{ atl_product_version }}-x64.bin "
atl_product_download_url: "{{ atl_product_base_url }}/atlassian-{{ atl_download_edition | default(atl_product_edition) }}-{{ atl_product_version }}-x64.bin"
atl_crowd_download_url: "{{ atl_product_base_url }}/atlassian-{{ atl_download_edition | default(atl_product_edition) }}-{{ atl_product_version }}.tar.gz"
atl_crowd_latest_url: "https://www.atlassian.com/software/crowd/downloads/binary/crowd-standalone-distribution-{{atl_latest_version}}.tar.gz"

View File

@@ -1,3 +1,5 @@
---
- name: Check for existing version cache file
stat:
path: "{{ atl_product_version_cache }}"
@@ -95,14 +97,8 @@
set_fact:
atl_product_version: "{{ atl_download_version }}"
#- set_fact:
# atl_product_version: '3.4.4'
######################################################################
#- debug:
# msg: "{{ atl_product_edition }}_extra_tasks.yml"
- name: Perform any additional per-edition version setup
include_tasks: "{{ atl_product_edition }}_extra_tasks.yml"
when: atl_product_edition!= "crowd"
@@ -123,9 +119,6 @@
- "{{ atl_product_version_cache_dir }}"
changed_when: false # For Molecule idempotence check
- debug:
msg: "atl_installer_temp - {{atl_installer_temp}} atl_product_home - {{atl_product_home}} atl_product_installation_versioned- {{atl_product_installation_versioned}} atl_product_version_cache_dir- {{atl_product_version_cache_dir}}"
# At this point atl_product_version should be set, cache if necessary.
- name: Write override cached version when specified
template:

View File

@@ -1,6 +1,6 @@
launch.application$Boolean=false
rmiPort$Long={{ atl_tomcat_mgmt_port | default('8020') }}
app.jiraHome={{ atl_product_home }}
app.crowdHome={{ atl_product_home }}
app.install.service$Boolean=false
app.service.account={{ atl_product_user }}
existingInstallationDir={{ atl_product_installation_versioned }}