From 2f6ae888b524bf4e723d7bdf9d8a456a6077f812 Mon Sep 17 00:00:00 2001 From: Markus Hauschild Date: Thu, 29 Jul 2021 12:38:06 +0200 Subject: [PATCH] fileserver: minor improvements --- roles/fileserver/tasks/main.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) 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