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
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue