Merge "iscsi: Use assert on checks for readability"
This commit is contained in:
commit
76268b7221
@ -27,9 +27,9 @@
|
|||||||
- iscsi_services.iscsid.enabled | bool
|
- iscsi_services.iscsid.enabled | bool
|
||||||
|
|
||||||
- name: Check supported platforms for tgtd
|
- name: Check supported platforms for tgtd
|
||||||
fail:
|
assert:
|
||||||
msg:
|
that: ansible_facts.os_family != 'RedHat'
|
||||||
The SCSI target daemon tgtd is not supported on CentOS/RHEL 8 and later
|
fail_msg: >
|
||||||
|
The SCSI target daemon tgtd is not supported on CentOS/RHEL
|
||||||
when:
|
when:
|
||||||
- ansible_facts.os_family == 'RedHat'
|
|
||||||
- enable_tgtd | bool
|
- enable_tgtd | bool
|
||||||
|
Loading…
x
Reference in New Issue
Block a user