Merged in DCD-937-nfs-v3 (pull request #83)

DCD-937: Move back to NFS v3 as using v4 conflicts with docs and is causing customer confusion.

Approved-by: Geoff Jacobs <gjacobs@atlassian.com>
Approved-by: Adam Brokes <abrokes@atlassian.com>
This commit is contained in:
Steve Smith
2020-02-10 05:45:46 +00:00
3 changed files with 7 additions and 1 deletions

View File

@@ -12,6 +12,7 @@
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_startup_systemd_params: atl_startup_systemd_params:
- "UMask=0027" - "UMask=0027"

View File

@@ -2,3 +2,4 @@
atl_nfs_mountpoint: "{{ atl_shared_mountpoint }}" atl_nfs_mountpoint: "{{ atl_shared_mountpoint }}"
atl_nfs_target: "{{ atl_shared_mountpoint }}" atl_nfs_target: "{{ atl_shared_mountpoint }}"
atl_nfs_version: "4.1"

View File

@@ -13,5 +13,9 @@
src: "{{ atl_fileserver_host }}:{{ atl_nfs_target }}" src: "{{ atl_fileserver_host }}:{{ atl_nfs_target }}"
path: "{{ atl_nfs_mountpoint }}" path: "{{ atl_nfs_mountpoint }}"
fstype: nfs fstype: nfs
opts: "rw,nfsvers=4.1,lookupcache=pos,noatime,intr,rsize=32768,wsize=32768,_netdev" opts: "rw,nfsvers={{ atl_nfs_version }},lookupcache=pos,noatime,intr,rsize=32768,wsize=32768,_netdev"
state: mounted state: mounted
register: mount_result
until: not mount_result.failed
retries: 60
delay: 5