Disable nfsd.

This commit is contained in:
Tom Alexander 2025-08-31 19:58:39 -04:00
parent 2aec6d2411
commit 40dc19eaea
No known key found for this signature in database
GPG Key ID: D3A179C9A53C0EDE

View File

@ -8,37 +8,37 @@
- name: net.link.ether.inet.proxyall - name: net.link.ether.inet.proxyall
value: "1" value: "1"
- name: Install service configuration # - name: Install service configuration
copy: # copy:
src: "files/{{ item }}_rc.conf" # src: "files/{{ item }}_rc.conf"
dest: "/etc/rc.conf.d/{{ item }}" # dest: "/etc/rc.conf.d/{{ item }}"
mode: 0644 # mode: 0644
owner: root # owner: root
group: wheel # group: wheel
loop: # loop:
- nfsd # - nfsd
- mountd # - mountd
- lockd # - lockd
- statd # - statd
- rpcbind # - rpcbind
- name: Create zfs datasets # - name: Create zfs datasets
zfs: # zfs:
name: zdata/k8spersistent # name: zdata/k8spersistent
state: present # state: present
extra_zfs_properties: # extra_zfs_properties:
sharenfs: "-network 10.215.1.0/24,-alldirs,-maproot=root:root" # sharenfs: "-network 10.215.1.0/24,-alldirs,-maproot=root:root"
mountpoint: /k8spersistent # mountpoint: /k8spersistent
- name: Update ownership # - name: Update ownership
file: # file:
name: "{{ item }}" # name: "{{ item }}"
state: directory # state: directory
mode: 0777 # mode: 0777
owner: root # owner: root
group: wheel # group: wheel
loop: # loop:
- /k8spersistent # - /k8spersistent
- name: Install scripts - name: Install scripts
copy: copy: