Skip to content
Snippets Groups Projects
Commit 76268b72 authored by Zuul's avatar Zuul Committed by Gerrit Code Review
Browse files

Merge "iscsi: Use assert on checks for readability"

parents 21e2434b 73ba96e2
No related branches found
No related tags found
No related merge requests found
......@@ -27,9 +27,9 @@
- iscsi_services.iscsid.enabled | bool
- name: Check supported platforms for tgtd
fail:
msg:
The SCSI target daemon tgtd is not supported on CentOS/RHEL 8 and later
assert:
that: ansible_facts.os_family != 'RedHat'
fail_msg: >
The SCSI target daemon tgtd is not supported on CentOS/RHEL
when:
- ansible_facts.os_family == 'RedHat'
- enable_tgtd | bool
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment