homelab/roles/init-nfs/handlers/main.yml

8 lines
142 B
YAML

---
- name: export file systems
command: exportfs -a
- name: restart nfs server
service:
name: nfs-kernel-server
state: restarted