zfs: add RedHat OS variation to condition

This commit is contained in:
Josh Lay 2021-04-05 00:24:23 -05:00
parent 1d0a47541c
commit 52b3031fb8
2 changed files with 6 additions and 2 deletions

View file

@ -6,6 +6,10 @@ EL_ZFS_PKGS:
- kernel-devel
- "@Development tools"
- dkms
- libuuid-devel
- libblkid-devel
- libtirpc-devel
- openssl-devel
- zfs
UBUNTU_ZFS_PKGS:
- zfsutils-linux

View file

@ -2,7 +2,7 @@
- name: include zfs-release tasks (CentOS/RHEL/Fedora)
include_tasks: zfs-release.yml
when: ('zfs-release' not in ansible_facts.packages) and (ansible_distribution in ["CentOS" , "Red Hat Enterprise Linux", "Fedora" ])
when: ('zfs-release' not in ansible_facts.packages) and (ansible_distribution in ["CentOS" , "Red Hat Enterprise Linux", "RedHat", "Fedora" ])
- name: include zfs installation tasks (Ubuntu)
include_tasks: ubuntu.yml
@ -10,7 +10,7 @@
- name: include zfs installation tasks (CentOS/RHEL/Fedora)
include_tasks: el.yml
when: (ansible_distribution in ["CentOS" , "Red Hat Enterprise Linux", "Fedora" ] and not is_atomic)
when: (ansible_distribution in ["CentOS" , "Red Hat Enterprise Linux", "RedHat", "Fedora" ] and not is_atomic)
- name: load zfs module
modprobe: