diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2021-12-11 11:56:27 +0000 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2021-12-11 11:56:27 +0000 |
commit | c1e3bbbe04863536e88d4d79afbbb85253e7d3b4 (patch) | |
tree | 9b9eecdef56cdf16dbef3e9b63e1e70312770a31 /roles/nfsd/tasks/_freebsd.yml | |
parent | 13ef8e5744442b6a6d61a96888f87a1c96c44ba6 (diff) | |
download | rules-c1e3bbbe04863536e88d4d79afbbb85253e7d3b4.tar.gz |
roles/nfsd: Consistent configuration with other roles
Diffstat (limited to 'roles/nfsd/tasks/_freebsd.yml')
-rw-r--r-- | roles/nfsd/tasks/_freebsd.yml | 20 |
1 files changed, 0 insertions, 20 deletions
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 |