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

28 lines
431 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
2021-06-15 21:57:58 +02:00
- name: Configure samba
template:
src: smb.conf.j2
dest: /etc/samba/smb.conf
notify: Reload smbd