28 lines
431 B
YAML
28 lines
431 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
|
|
|
|
- name: Configure samba
|
|
template:
|
|
src: smb.conf.j2
|
|
dest: /etc/samba/smb.conf
|
|
notify: Reload smbd
|