aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'clarkzjw.ca/config/atlas/roles/debian_init/tasks/main.yaml')
-rw-r--r--clarkzjw.ca/config/atlas/roles/debian_init/tasks/main.yaml8
1 files changed, 7 insertions, 1 deletions
diff --git a/clarkzjw.ca/config/atlas/roles/debian_init/tasks/main.yaml b/clarkzjw.ca/config/atlas/roles/debian_init/tasks/main.yaml
index 845af8d..4cfc23d 100644
--- a/clarkzjw.ca/config/atlas/roles/debian_init/tasks/main.yaml
+++ b/clarkzjw.ca/config/atlas/roles/debian_init/tasks/main.yaml
@@ -39,12 +39,18 @@
39- name: Install ZFS 39- name: Install ZFS
40 apt: 40 apt:
41 name: 41 name:
42 - linux-headers-amd64 42 - linux-headers-{{ ansible_kernel }}
43 - zfsutils-linux 43 - zfsutils-linux
44 - zfs-dkms
44 update_cache: true 45 update_cache: true
45 fail_on_autoremove: yes 46 fail_on_autoremove: yes
46 default_release: "{{ ansible_distribution_release | lower }}-backports" 47 default_release: "{{ ansible_distribution_release | lower }}-backports"
47 48
49- name: Load zfs kernel module
50 modprobe:
51 name: zfs
52 state: present
53
48- name: Clean unneeded packages 54- name: Clean unneeded packages
49 apt: 55 apt:
50 autoremove: true 56 autoremove: true
Powered by cgit v1.2.3 (git 2.41.0)