Skip to content

Commit 1649a04

Browse files
committed
Final tweaks to security test configuration.
1 parent c656bfd commit 1649a04

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

security/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,6 @@
148148
selinux:
149149
policy: targeted
150150
state: enforcing
151-
when: ansible_selinux.status == 'enabled'
152151

153152
- name: Ensure httpd can connect to the network.
154153
seboolean:

tests/security.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@
1414
- selinux-policy-targeted
1515
state: present
1616

17-
- name: Ensure SELinux is enabled in `targeted` mode.
18-
selinux:
19-
policy: targeted
20-
state: enforcing
21-
2217
# Security test.
2318
- import_playbook: ../security/main.yml
2419
vars:

0 commit comments

Comments
 (0)