DCD-386: Cleanup BB home vars.

This commit is contained in:
Steve Smith
2019-06-11 05:20:55 +00:00
parent f8641a0044
commit 7a5a8e003b
4 changed files with 7 additions and 5 deletions

View File

@@ -9,11 +9,10 @@
atl_product_user: "bitbucket"
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_target: "{{ atl_shared_mountpoint }}/bitbucket/shared"
atl_startup_systemd_params:
- "UMask=0027"
- "LimitNOFILE=4096"

View File

@@ -2,7 +2,7 @@
- name: Create Bitbucket shared dir if necessary
file:
path: "{{ atl_product_home_shared }}/shared/"
path: "{{ atl_product_home_shared }}"
owner: "{{ atl_product_user }}"
group: "{{ atl_product_user }}"
mode: 0750
@@ -11,7 +11,7 @@
- name: Create Bitbucket config file
template:
src: bitbucket.properties.j2
dest: "{{ atl_product_home_shared }}/shared/bitbucket.properties"
dest: "{{ atl_product_home_shared }}/bitbucket.properties"
owner: "{{ atl_product_user }}"
group: "{{ atl_product_user }}"

View File

@@ -5,6 +5,9 @@
atl_product_family: "stash"
atl_product_edition: "bitbucket"
atl_product_user: "bitbucket"
atl_product_home: "{{ atl_shared_mountpoint }}/{{ atl_product_edition }}"
roles:
- role: linux_common
- role: product_common

View File

@@ -12,7 +12,7 @@
atl_startup_systemd_params:
- "UMask=0027"
- "LimitNOFILE=4096"
- "Environment=BITBUCKET_HOME={{ atl_product_home_shared }}"
- "Environment=BITBUCKET_HOME={{ atl_product_home }}"
atl_startup_exec_options:
- "-fg"