diff options
author | Christian Segundo | 2023-06-18 12:41:23 +0200 |
---|---|---|
committer | Christian Segundo | 2023-06-18 12:41:23 +0200 |
commit | 3e84a285ec0e2385c14ea964fddb0a7f787cb577 (patch) | |
tree | d321f1625c1574afd27c30f5d6bf136aa91a3706 | |
parent | 6c6602ec875e6822bc9b19a9b6d4489e6fe1707b (diff) | |
download | zfs-master.tar.gz |
-rw-r--r-- | tasks/main.yaml | 5 |
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: |