mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-13 08:23:06 -06:00
DCD-386: The BB node mounts NFS deeper in the FS.
This commit is contained in:
@@ -8,6 +8,10 @@
|
||||
atl_product_edition: "bitbucket"
|
||||
atl_product_user: "bitbucket"
|
||||
|
||||
atl_nfs_mountpoint: "{{ atl_shared_mountpoint }}/bitbucket/shared"
|
||||
atl_nfs_target: "{{ atl_shared_mountpoint }}/bitbucket/shared"
|
||||
|
||||
|
||||
atl_startup_systemd_params:
|
||||
- "UMask=0027"
|
||||
- "LimitNOFILE=4096"
|
||||
|
||||
4
roles/nfs_mount/defaults/main.yml
Normal file
4
roles/nfs_mount/defaults/main.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
|
||||
atl_nfs_mountpoint: "{{ atl_shared_mountpoint }}"
|
||||
atl_nfs_target: "{{ atl_shared_mountpoint }}"
|
||||
@@ -10,8 +10,8 @@
|
||||
|
||||
- name: Enable mountpoint in fstab
|
||||
mount:
|
||||
path: "{{ atl_shared_mountpoint }}"
|
||||
src: "{{ atl_fileserver_host }}:{{ atl_shared_mountpoint }}"
|
||||
src: "{{ atl_fileserver_host }}:{{ atl_nfs_target }}"
|
||||
path: "{{ atl_nfs_mountpoint }}"
|
||||
fstype: nfs
|
||||
opts: "rw,nfsvers=4.1,lookupcache=pos,noatime,intr,rsize=32768,wsize=32768,_netdev"
|
||||
state: mounted
|
||||
|
||||
Reference in New Issue
Block a user