diff --git a/roles/zfs/defaults/main.yml b/roles/zfs/defaults/main.yml index 1be7c4d..3c0c98c 100644 --- a/roles/zfs/defaults/main.yml +++ b/roles/zfs/defaults/main.yml @@ -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 diff --git a/roles/zfs/tasks/main.yml b/roles/zfs/tasks/main.yml index e975e34..0fb926c 100644 --- a/roles/zfs/tasks/main.yml +++ b/roles/zfs/tasks/main.yml @@ -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: