File tree Expand file tree Collapse file tree 6 files changed +18
-19
lines changed
Expand file tree Collapse file tree 6 files changed +18
-19
lines changed Original file line number Diff line number Diff line change 88- Adding of the goss module to the library path
99
1010## Whats new 1.0.1
11+
1112- Fixed typos
1213- Added audit output file permissions
1314
15+ ## Whats new in 1.0.2
16+
17+ - renamed goss library and aligned ansible.cfg file
18+ - thanks to Thulium-Drake
19+
20+ - selinux variable in defaults main - default enforcing
21+ - 1.7.1.3-5 now idempotent
22+
1423## High level changes within tasks
1524
1625- Python3 now default for control node (should be backward compatible in setup)
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ deprecation_warnings=False
66command_warnings =False
77nocows =1
88retry_files_save_path =/dev/null
9- library =~/.ansible/plugins/modules:/usr/share/ansible/plugins/modules:./..
9+ library =~/.ansible/plugins/modules:/usr/share/ansible/plugins/modules:./library
1010
1111[privilege_escalation]
1212
@@ -22,4 +22,4 @@ transfer_method=scp
2222
2323[colors]
2424
25- [diff]
25+ [diff]
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ rhel7cis_run_audit: false
3131
3232# Enable/Disable SELinux
3333rhel7cis_selinux_disable : false
34+ rhel7cis_selinux_state : enforcing
3435
3536# Misc. environment variables
3637rhel7cis_skip_for_travis : false
File renamed without changes.
Original file line number Diff line number Diff line change 3131 - patch
3232 - rule_1.7.1.2
3333
34- - name : " AUTOMATED | 1.7.1.3 | PATCH | Ensure SELinux policy is configured"
34+ - name : " AUTOMATED | 1.7.1.3 | PATCH | Ensure SELinux policy is configured\n
35+ AUTOMATED | 1.7.1.4 | PATCH | Ensure the SELinux state is enforcing or permissive"
3536 selinux :
3637 conf : /etc/selinux/config
3738 policy : " {{ rhel7cis_selinux_pol }}"
38- state : permissive
39+ state : " {{ rhel7cis_selinux_state }} "
3940 when :
4041 - not rhel7cis_selinux_disable
4142 - rhel7cis_rule_1_7_1_3
42- tags :
43- - level1
44- - AUTOMATED
45- - selinux
46- - patch
47- - rule_1.7.1.3
48-
49- - name : " AUTOMATED | 1.7.1.4 | PATCH | Ensure the SELinux state is enforcing or permissive"
50- selinux :
51- conf : /etc/selinux/config
52- policy : " {{ rhel7cis_selinux_pol }}"
53- state : permissive
54- when :
55- - not rhel7cis_selinux_disable
56- - not rhel7cis_rule_1_7_1_5
5743 - rhel7cis_rule_1_7_1_4
5844 tags :
5945 - level1
6046 - AUTOMATED
6147 - selinux
6248 - patch
49+ - rule_1.7.1.3
6350 - rule_1.7.1.4
6451
6552- name : " AUTOMATED | 1.7.1.5 | PATCH | Ensure the SELinux state is enforcing"
6956 state : enforcing
7057 when :
7158 - not rhel7cis_selinux_disable
59+ - not rhel7cis_selinux_state == "permissive"
7260 - rhel7cis_rule_1_7_1_5
7361 tags :
7462 - level2
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ rhel7cis_section5: {{ rhel7cis_section5 }}
88rhel7cis_section6 : {{ rhel7cis_section6 }}
99
1010rhel7cis_selinux_disable : {{ rhel7cis_selinux_disable }}
11+ rhel7cis_selinux_state : {{ rhel7cis_selinux_state }}
1112
1213
1314rhel7cis_level1 : true
You can’t perform that action at this time.
0 commit comments