mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-13 08:23:06 -06:00
DCD-386: Cleanup BB home vars.
This commit is contained in:
@@ -9,11 +9,10 @@
|
|||||||
atl_product_user: "bitbucket"
|
atl_product_user: "bitbucket"
|
||||||
|
|
||||||
atl_product_home: "{{ atl_shared_mountpoint }}/{{ atl_product_edition }}"
|
atl_product_home: "{{ atl_shared_mountpoint }}/{{ atl_product_edition }}"
|
||||||
atl_product_home_shared: "{{ atl_product_home }}/shared"
|
|
||||||
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_startup_systemd_params:
|
atl_startup_systemd_params:
|
||||||
- "UMask=0027"
|
- "UMask=0027"
|
||||||
- "LimitNOFILE=4096"
|
- "LimitNOFILE=4096"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
- name: Create Bitbucket shared dir if necessary
|
- name: Create Bitbucket shared dir if necessary
|
||||||
file:
|
file:
|
||||||
path: "{{ atl_product_home_shared }}/shared/"
|
path: "{{ atl_product_home_shared }}"
|
||||||
owner: "{{ atl_product_user }}"
|
owner: "{{ atl_product_user }}"
|
||||||
group: "{{ atl_product_user }}"
|
group: "{{ atl_product_user }}"
|
||||||
mode: 0750
|
mode: 0750
|
||||||
@@ -11,7 +11,7 @@
|
|||||||
- name: Create Bitbucket config file
|
- name: Create Bitbucket config file
|
||||||
template:
|
template:
|
||||||
src: bitbucket.properties.j2
|
src: bitbucket.properties.j2
|
||||||
dest: "{{ atl_product_home_shared }}/shared/bitbucket.properties"
|
dest: "{{ atl_product_home_shared }}/bitbucket.properties"
|
||||||
owner: "{{ atl_product_user }}"
|
owner: "{{ atl_product_user }}"
|
||||||
group: "{{ atl_product_user }}"
|
group: "{{ atl_product_user }}"
|
||||||
|
|
||||||
|
|||||||
@@ -5,6 +5,9 @@
|
|||||||
atl_product_family: "stash"
|
atl_product_family: "stash"
|
||||||
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 }}"
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- role: linux_common
|
- role: linux_common
|
||||||
- role: product_common
|
- role: product_common
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
atl_startup_systemd_params:
|
atl_startup_systemd_params:
|
||||||
- "UMask=0027"
|
- "UMask=0027"
|
||||||
- "LimitNOFILE=4096"
|
- "LimitNOFILE=4096"
|
||||||
- "Environment=BITBUCKET_HOME={{ atl_product_home_shared }}"
|
- "Environment=BITBUCKET_HOME={{ atl_product_home }}"
|
||||||
|
|
||||||
atl_startup_exec_options:
|
atl_startup_exec_options:
|
||||||
- "-fg"
|
- "-fg"
|
||||||
|
|||||||
Reference in New Issue
Block a user