Merge remote-tracking branch 'origin/fix-bitbucket-home-issues' into fix-bb-home

This commit is contained in:
bmeehan
2022-11-11 08:19:30 +11:00
3 changed files with 19 additions and 3 deletions

View File

@@ -8,16 +8,16 @@
atl_product_edition: "bitbucket"
atl_product_user: "bitbucket"
atl_product_home: "{{ atl_shared_mountpoint }}/{{ atl_product_edition }}"
atl_use_system_jdk: true
java_major_version: "11" # BB 8 will drop JDK 8 support
atl_download_format: "tarball"
atl_product_home: "/var/atlassian/application-data/bitbucket"
atl_nfs_mountpoint: "{{ atl_shared_mountpoint }}/bitbucket/shared"
atl_nfs_target: "{{ atl_shared_mountpoint }}/bitbucket/shared"
atl_nfs_version: "3"
atl_startup_systemd_params:
- "UMask=0027"
- "LimitNOFILE=4096"
@@ -38,7 +38,7 @@
- { role: nfs_mount, when : (atl_fileserver_host is defined) and (atl_fileserver_host|length > 0) }
- role: product_common
- role: product_install
- role: database_init
- { role: database_init, tags: [database] }
- role: bitbucket_config
- role: product_startup
- role: bitbucket_dataset_restore

View File

@@ -44,3 +44,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

View File

@@ -1 +1,16 @@
---
- name: Create the product local home directory
ansible.builtin.file:
path: "{{ atl_product_home }}/shared"
state: directory
owner: "{{ atl_product_user }}"
group: "{{ atl_product_user }}"
mode: "0754"
- 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