ansible/roles/fileserver/tasks/main.yml

25 lines
345 B
YAML

---
# 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