mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 08:53:07 -06:00
Merged in fix-bb-home (pull request #192)
Multiple fixes for Bitbucket DataCenter Approved-by: Vadym Kovalskiy Approved-by: Lee Goolsbee
This commit is contained in:
@@ -19,7 +19,8 @@ atl_download_suffix: "{{ atl_download_format_suffix_map[atl_download_format] }}"
|
||||
|
||||
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 }}{{ atl_download_suffix }}"
|
||||
atl_product_download_default_url: "{{ atl_product_base_url }}/atlassian-{{ atl_download_edition | default(atl_product_edition) }}-{{ atl_product_version }}{{ atl_download_suffix }}"
|
||||
atl_product_download_url: "{{ lookup('env', 'ATL_PRODUCT_DOWNLOAD_URL') or atl_product_download_default_url }}"
|
||||
|
||||
atl_product_download_filename: "{{ atl_download_edition | default(atl_product_edition) }}.{{ atl_product_version }}{{ atl_download_suffix }}"
|
||||
atl_product_temp_download: "{{ atl_installer_temp }}/{{ atl_product_download_filename }}"
|
||||
@@ -44,3 +45,4 @@ atl_source_obr_from_marketplace: true
|
||||
atl_servicedesk_download_file: "{{ atl_installer_temp }}/jira-servicedesk.{{ atl_product_version }}.obr"
|
||||
|
||||
force_version_update: false
|
||||
skip_shared_home_symlink: false
|
||||
@@ -7,6 +7,7 @@
|
||||
atl_product_user: "bitbucket"
|
||||
|
||||
atl_product_home: "{{ atl_shared_mountpoint }}/{{ atl_product_edition }}"
|
||||
skip_shared_home_symlink: true
|
||||
roles:
|
||||
- role: linux_common
|
||||
- role: product_common
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
no_op.yml
|
||||
17
roles/product_install/tasks/bitbucket_extra_tasks.yml
Normal file
17
roles/product_install/tasks/bitbucket_extra_tasks.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
- name: Create the product local home directory
|
||||
ansible.builtin.file:
|
||||
path: "{{ atl_product_home }}"
|
||||
state: directory
|
||||
owner: "{{ atl_product_user }}"
|
||||
group: "{{ atl_product_user }}"
|
||||
mode: "0754"
|
||||
changed_when: false # For Molecule idempotence check
|
||||
|
||||
- name: Symlink the the shared home
|
||||
ansible.builtin.file:
|
||||
src: "{{ atl_shared_mountpoint }}/{{ atl_product_edition }}/shared"
|
||||
dest: "{{ atl_product_home }}/shared"
|
||||
state: link
|
||||
force: true
|
||||
when: not skip_shared_home_symlink | bool
|
||||
@@ -1,6 +1,4 @@
|
||||
---
|
||||
|
||||
|
||||
- name: Check for existing version cache file
|
||||
ansible.builtin.stat:
|
||||
path: "{{ atl_product_version_cache }}"
|
||||
|
||||
Reference in New Issue
Block a user