diff --git a/roles/fileserver/tasks/main.yml b/roles/fileserver/tasks/main.yml index c27aafb..ffa60cc 100644 --- a/roles/fileserver/tasks/main.yml +++ b/roles/fileserver/tasks/main.yml @@ -1,14 +1,17 @@ --- -# TODO -# enable non-free and contrib in order to properly install zfs-dkms +# TODO also enable contrib for $release-security +- name: Enable contrib repositories + apt_repository: + repo: deb http://deb.debian.org/debian {{ ansible_distribution_release }} contrib -- name: Install ZFS +- name: Install zfs-dkms apt: - name: - - zfs-dkms + name: zfs-dkms -- name: Install NFS and SMB +# creating the ZFS pool is not part of this role + +- name: Install NFS and samba apt: name: - nfs-kernel-server