aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Segundo2023-06-18 12:41:23 +0200
committerChristian Segundo2023-06-18 12:41:23 +0200
commit3e84a285ec0e2385c14ea964fddb0a7f787cb577 (patch)
treed321f1625c1574afd27c30f5d6bf136aa91a3706
parent6c6602ec875e6822bc9b19a9b6d4489e6fe1707b (diff)
downloadzfs-master.tar.gz
Add support for bookwormHEAD1.0.1master
-rw-r--r--tasks/main.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/tasks/main.yaml b/tasks/main.yaml
index 207006b..0aaba58 100644
--- a/tasks/main.yaml
+++ b/tasks/main.yaml
@@ -1,3 +1,4 @@
+---
- name: Install packages
block:
- apt:
@@ -7,6 +8,10 @@
- apt:
name: zfsutils-linux
default_release: "{{ ansible_distribution_release | lower }}-backports"
+ when: ansible_facts.distribution_release == 'bullseye'
+ - apt:
+ name: zfsutils-linux
+ when: ansible_facts.distribution_release != 'bullseye'
- name: Add the zfs module
community.general.modprobe: