zfs: add RedHat OS variation to condition
This commit is contained in:
parent
1d0a47541c
commit
52b3031fb8
2 changed files with 6 additions and 2 deletions
|
@ -6,6 +6,10 @@ EL_ZFS_PKGS:
|
||||||
- kernel-devel
|
- kernel-devel
|
||||||
- "@Development tools"
|
- "@Development tools"
|
||||||
- dkms
|
- dkms
|
||||||
|
- libuuid-devel
|
||||||
|
- libblkid-devel
|
||||||
|
- libtirpc-devel
|
||||||
|
- openssl-devel
|
||||||
- zfs
|
- zfs
|
||||||
UBUNTU_ZFS_PKGS:
|
UBUNTU_ZFS_PKGS:
|
||||||
- zfsutils-linux
|
- zfsutils-linux
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
- name: include zfs-release tasks (CentOS/RHEL/Fedora)
|
- name: include zfs-release tasks (CentOS/RHEL/Fedora)
|
||||||
include_tasks: zfs-release.yml
|
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)
|
- name: include zfs installation tasks (Ubuntu)
|
||||||
include_tasks: ubuntu.yml
|
include_tasks: ubuntu.yml
|
||||||
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
- name: include zfs installation tasks (CentOS/RHEL/Fedora)
|
- name: include zfs installation tasks (CentOS/RHEL/Fedora)
|
||||||
include_tasks: el.yml
|
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
|
- name: load zfs module
|
||||||
modprobe:
|
modprobe:
|
||||||
|
|
Loading…
Reference in a new issue