DCD-937: Make NFS version configurable.

This commit is contained in:
Steve Smith
2020-02-10 12:05:29 +11:00
parent 314d5d8663
commit 0847996083
3 changed files with 3 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,5 @@
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=3,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