nfs-server: Disable NFS over UDP
This commit is contained in:
parent
ef1ee545fe
commit
852770b74a
1 changed files with 8 additions and 0 deletions
|
@ -9,6 +9,14 @@
|
|||
- vers3
|
||||
notify: restart nfs-server
|
||||
|
||||
- name: disable nfs over udp
|
||||
lineinfile:
|
||||
path: /etc/nfs.conf
|
||||
line: "udp=n"
|
||||
regexp: '^(#\s*)?udp=.*'
|
||||
insertbefore: vers2=n
|
||||
notify: restart nfs-server
|
||||
|
||||
- name: enable nfs server services
|
||||
service:
|
||||
name: nfs-server
|
||||
|
|
Loading…
Add table
Reference in a new issue