mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-13 16:33:08 -06:00
Merge remote-tracking branch 'origin/fix-bitbucket-home-issues' into fix-bb-home
This commit is contained in:
@@ -8,16 +8,16 @@
|
|||||||
atl_product_edition: "bitbucket"
|
atl_product_edition: "bitbucket"
|
||||||
atl_product_user: "bitbucket"
|
atl_product_user: "bitbucket"
|
||||||
|
|
||||||
atl_product_home: "{{ atl_shared_mountpoint }}/{{ atl_product_edition }}"
|
|
||||||
|
|
||||||
atl_use_system_jdk: true
|
atl_use_system_jdk: true
|
||||||
java_major_version: "11" # BB 8 will drop JDK 8 support
|
java_major_version: "11" # BB 8 will drop JDK 8 support
|
||||||
atl_download_format: "tarball"
|
atl_download_format: "tarball"
|
||||||
|
|
||||||
|
atl_product_home: "/var/atlassian/application-data/bitbucket"
|
||||||
atl_nfs_mountpoint: "{{ atl_shared_mountpoint }}/bitbucket/shared"
|
atl_nfs_mountpoint: "{{ atl_shared_mountpoint }}/bitbucket/shared"
|
||||||
atl_nfs_target: "{{ atl_shared_mountpoint }}/bitbucket/shared"
|
atl_nfs_target: "{{ atl_shared_mountpoint }}/bitbucket/shared"
|
||||||
atl_nfs_version: "3"
|
atl_nfs_version: "3"
|
||||||
|
|
||||||
|
|
||||||
atl_startup_systemd_params:
|
atl_startup_systemd_params:
|
||||||
- "UMask=0027"
|
- "UMask=0027"
|
||||||
- "LimitNOFILE=4096"
|
- "LimitNOFILE=4096"
|
||||||
@@ -38,7 +38,7 @@
|
|||||||
- { role: nfs_mount, when : (atl_fileserver_host is defined) and (atl_fileserver_host|length > 0) }
|
- { role: nfs_mount, when : (atl_fileserver_host is defined) and (atl_fileserver_host|length > 0) }
|
||||||
- role: product_common
|
- role: product_common
|
||||||
- role: product_install
|
- role: product_install
|
||||||
- role: database_init
|
- { role: database_init, tags: [database] }
|
||||||
- role: bitbucket_config
|
- role: bitbucket_config
|
||||||
- role: product_startup
|
- role: product_startup
|
||||||
- role: bitbucket_dataset_restore
|
- role: bitbucket_dataset_restore
|
||||||
|
|||||||
@@ -44,3 +44,4 @@ atl_source_obr_from_marketplace: true
|
|||||||
atl_servicedesk_download_file: "{{ atl_installer_temp }}/jira-servicedesk.{{ atl_product_version }}.obr"
|
atl_servicedesk_download_file: "{{ atl_installer_temp }}/jira-servicedesk.{{ atl_product_version }}.obr"
|
||||||
|
|
||||||
force_version_update: false
|
force_version_update: false
|
||||||
|
skip_shared_home_symlink: false
|
||||||
@@ -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
|
||||||
Reference in New Issue
Block a user