forked from ansible-lockdown/RHEL9-CIS
Added Managed by Ansible Changes will be lost
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
cf6e08c390
commit
b68e8a3cdd
9 changed files with 13 additions and 4 deletions
|
|
@ -1,3 +1,5 @@
|
||||||
|
|
||||||
|
## This file is managed by Ansible, YOUR CHANGED WILL BE LOST!
|
||||||
## metadata for benchmark
|
## metadata for benchmark
|
||||||
|
|
||||||
## metadata for Audit benchmark
|
## metadata for Audit benchmark
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
## This file is managed by Ansible, YOUR CHANGED WILL BE LOST!
|
||||||
|
|
||||||
# This template will set all of the auditd configurations via a handler in the role in one task instead of individually
|
# This template will set all of the auditd configurations via a handler in the role in one task instead of individually
|
||||||
{% if rhel9cis_rule_4_1_3_1 %}
|
{% if rhel9cis_rule_4_1_3_1 %}
|
||||||
-w /etc/sudoers -p wa -k scope
|
-w /etc/sudoers -p wa -k scope
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
## This file is managed by Ansible, YOUR CHANGED WILL BE LOST!
|
||||||
|
|
||||||
# This the default chrony.conf file for the Debian chrony package. After
|
# This the default chrony.conf file for the Debian chrony package. After
|
||||||
# editing this file use the command 'invoke-rc.d chrony restart' to make
|
# editing this file use the command 'invoke-rc.d chrony restart' to make
|
||||||
# your changes take effect. John Hasler <jhasler@debian.org> 1998-2008
|
# your changes take effect. John Hasler <jhasler@debian.org> 1998-2008
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
# Disable usage of protocol {{ item }}
|
# Disable usage of protocol {{ item }}
|
||||||
# Set by ansible {{ benchmark }} remediation role
|
# Set by ansible {{ benchmark }} remediation role
|
||||||
# https://github.com/ansible-lockdown
|
# https://github.com/ansible-lockdown
|
||||||
|
## This file is managed by Ansible, YOUR CHANGED WILL BE LOST!
|
||||||
|
|
||||||
install {{ item }} /bin/true
|
install {{ item }} /bin/true
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Setting added via ansible CIS remediation playbook
|
## This file is managed by Ansible, YOUR CHANGED WILL BE LOST!
|
||||||
|
|
||||||
# IPv6 disable
|
# IPv6 disable
|
||||||
{% if rhel9cis_rule_3_1_1 and rhel9cis_ipv6_required %}
|
{% if rhel9cis_rule_3_1_1 and rhel9cis_ipv6_required %}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Setting added via ansible CIS remediation playbook
|
## This file is managed by Ansible, YOUR CHANGED WILL BE LOST!
|
||||||
|
|
||||||
|
|
||||||
{% if rhel9cis_rule_1_5_3 %}
|
{% if rhel9cis_rule_1_5_3 %}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Setting added via ansible CIS remediation playbook
|
## This file is managed by Ansible, YOUR CHANGED WILL BE LOST!
|
||||||
|
|
||||||
# IPv4 Network sysctl
|
# IPv4 Network sysctl
|
||||||
{% if rhel9cis_rule_3_2_1 %}
|
{% if rhel9cis_rule_3_2_1 %}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Setting added via ansible CIS remediation playbook
|
## This file is managed by Ansible, YOUR CHANGED WILL BE LOST!
|
||||||
|
|
||||||
# IPv6 Network sysctl
|
# IPv6 Network sysctl
|
||||||
{% if rhel9cis_ipv6_required %}
|
{% if rhel9cis_ipv6_required %}
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,8 @@
|
||||||
# the Free Software Foundation; either version 2.1 of the License, or
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
|
## This file is managed by Ansible, YOUR CHANGED WILL BE LOST!
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Temporary Directory (/tmp)
|
Description=Temporary Directory (/tmp)
|
||||||
Documentation=man:hier(7)
|
Documentation=man:hier(7)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue