1
0
forked from infra/ansible
infra/roles/fileserver/tasks/main.yml

25 lines
345 B
YAML
Raw Normal View History

---
# TODO
# enable non-free and contrib in order to properly install zfs-dkms
- name: Install ZFS
apt:
name:
- zfs-dkms
- name: Install NFS and SMB
apt:
name:
- nfs-kernel-server
- samba
- name: Configure NFS
template:
src: exports.j2
dest: /etc/exports
notify: Reload nfs-server
# TODO
# configure SMB