Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linting #9

Merged
merged 1 commit into from
Apr 27, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
@@ -55,7 +55,7 @@
when:
- rhel9cis_set_boot_pass
- rhel9cis_rule_1_4_1
tags:
tags:
- always

- name: "check sugroup exists if used"
2 changes: 1 addition & 1 deletion tasks/section_3/cis_3.4.1.x.yml
Original file line number Diff line number Diff line change
@@ -31,7 +31,7 @@
package:
name: iptables-services
state: absent
when:
when:
when:
- rhel9cis_rule_3_4_1_2
- "'iptables-services' in ansible_facts.packages"
1 change: 0 additions & 1 deletion tasks/section_3/main.yml
Original file line number Diff line number Diff line change
@@ -18,4 +18,3 @@
include_tasks: cis_3.4.2.x.yml
when:
- rhel9cis_firewall == "nftables"

10 changes: 5 additions & 5 deletions tasks/section_4/cis_4.3.yml
Original file line number Diff line number Diff line change
@@ -2,8 +2,8 @@

- name: "4.3.1 | PATCH | Ensure logrotate is installed"
package:
name: rsyslog-logrotate
state: present
name: rsyslog-logrotate
state: present
when:
- rhel9cis_rule_4_3_1
tags:
@@ -16,9 +16,9 @@

- name: "4.3.2 | PATCH | Ensure logrotate is running and enabled"
systemd:
name: logrotate
state: started
enabled: true
name: logrotate
state: started
enabled: true
when:
- rhel9cis_rule_4_3_2
tags: