Skip to content

Commit

Permalink
Merge pull request #11 from radsec/bug-fixes-conditionals
Browse files Browse the repository at this point in the history
Bug-Fixes - Conditional Problems
  • Loading branch information
rdiers authored May 28, 2020
2 parents c2903a6 + 926cfc9 commit e1c3814
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tasks/section2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@
state: absent
when:
- centos7cis_level1 is defined and centos7cis_level1
- centos7cis_xwindows_required is defined not centos7cis_xwindows_required
- centos7cis_xwindows_required is defined and not centos7cis_xwindows_required
- centos7cis_disable_service_checks is defined and centos7cis_disable_service_checks
with_items:
- "@X Window System"
Expand Down
2 changes: 1 addition & 1 deletion tasks/section3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@
line: "ALL: ALL"
when:
- centos7cis_level1 is defined and centos7cis_level1
- centos7cis_enable_host_deny is defined
- centos7cis_enable_hosts_deny is defined
- centos7cis_enable_hosts_deny
tags:
- level1
Expand Down

0 comments on commit e1c3814

Please sign in to comment.