Skip to content

Commit e1c3814

Browse files
authored
Merge pull request #11 from radsec/bug-fixes-conditionals
Bug-Fixes - Conditional Problems
2 parents c2903a6 + 926cfc9 commit e1c3814

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tasks/section2.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@
430430
state: absent
431431
when:
432432
- centos7cis_level1 is defined and centos7cis_level1
433-
- centos7cis_xwindows_required is defined not centos7cis_xwindows_required
433+
- centos7cis_xwindows_required is defined and not centos7cis_xwindows_required
434434
- centos7cis_disable_service_checks is defined and centos7cis_disable_service_checks
435435
with_items:
436436
- "@X Window System"

tasks/section3.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@
301301
line: "ALL: ALL"
302302
when:
303303
- centos7cis_level1 is defined and centos7cis_level1
304-
- centos7cis_enable_host_deny is defined
304+
- centos7cis_enable_hosts_deny is defined
305305
- centos7cis_enable_hosts_deny
306306
tags:
307307
- level1

0 commit comments

Comments
 (0)