From c1e3bbbe04863536e88d4d79afbbb85253e7d3b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Sat, 11 Dec 2021 11:56:27 +0000 Subject: roles/nfsd: Consistent configuration with other roles --- roles/nfsd/tasks/_freebsd.yml | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 roles/nfsd/tasks/_freebsd.yml (limited to 'roles/nfsd/tasks/_freebsd.yml') diff --git a/roles/nfsd/tasks/_freebsd.yml b/roles/nfsd/tasks/_freebsd.yml deleted file mode 100644 index 2cae34a..0000000 --- a/roles/nfsd/tasks/_freebsd.yml +++ /dev/null @@ -1,20 +0,0 @@ - -# nfsd ~~ roles/nfsd/tasks/_freebsd.yml - ---- - -- name: ensure daemons flag - lineinfile: - path: /etc/rc.conf - regexp: "^{{ item[0] }}=" - line: "{{ item[0] }}=\"{{ item[1] }}\"" - loop: - - ["nfs_server_flags", "-tun {{ nfsd_nb_process }}"] - - ["rpcbind_enable=", "YES"] - - ["mountd_flags", "-r"] - -- name: ensure rpcbind is enabled and restarted - service: - name: rpcbind - state: restarted - enabled: true -- cgit v1.2.3