nfs: sections are now already commented-out

master
Y 2019-05-20 19:31:54 +02:00
parent 7f6725225f
commit 7c8fe270b4
1 changed files with 4 additions and 8 deletions

View File

@ -78,9 +78,8 @@
path: /etc/nfs.conf
marker: '# {mark} nfsd'
block: |
[nfsd]
port=2049
insertbefore: '^#\[nfsd\]'
insertafter: '^\[nfsd\]'
notify:
- restart nfs-server.service
@ -89,10 +88,9 @@
path: /etc/nfs.conf
marker: '# {mark} statd'
block: |
[statd]
port=2050
outgoing-port=2051
insertbefore: '^#\[statd\]'
insertafter: '^\[statd\]'
notify:
- restart nfs-server.service
@ -101,9 +99,8 @@
path: /etc/nfs.conf
marker: '# {mark} mountd'
block: |
[mountd]
port=2052
insertbefore: '^#\[mountd\]'
insertafter: '^\[mountd\]'
notify:
- restart nfs-server.service
@ -112,10 +109,9 @@
path: /etc/nfs.conf
marker: '# {mark} lockd'
block: |
[lockd]
port=2053
udp-port=2053
insertbefore: '^#\[lockd\]'
insertafter: '^\[lockd\]'
notify:
- restart nfs-server.service