Added comment on top of template about which role modified the resulting file. https://github.com/dev-sec/ansible-collection-hardening/issues/345
Signed-off-by: Farid Joubbi <[email protected]>
This commit is contained in:
1 parent
d01abb44c0
commit
254b62d980
18 files changed
+18
No files matched your search
@@ -1,4 +1,5 @@
|
|||||||
# {{ ansible_managed|comment }}
|
# {{ ansible_managed|comment }}
|
||||||
|
# Generated by Ansible {{ ansible_role_name }}
|
||||||
# Additional configuration for Nginx.
|
# Additional configuration for Nginx.
|
||||||
|
|
||||||
client_header_buffer_size {{ nginx_client_header_buffer_size }};
|
client_header_buffer_size {{ nginx_client_header_buffer_size }};
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
{{ ansible_managed | comment }}
|
{{ ansible_managed | comment }}
|
||||||
|
# Generated by Ansible {{ ansible_role_name }}
|
||||||
|
|
||||||
log_file = /var/log/audit/audit.log
|
log_file = /var/log/audit/audit.log
|
||||||
log_format = RAW
|
log_format = RAW
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
{{ ansible_managed | comment }}
|
{{ ansible_managed | comment }}
|
||||||
|
# Generated by Ansible {{ ansible_role_name }}
|
||||||
|
|
||||||
# /etc/default/ufw
|
# /etc/default/ufw
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
{{ ansible_managed | comment }}
|
{{ ansible_managed | comment }}
|
||||||
|
# Generated by Ansible {{ ansible_role_name }}
|
||||||
|
|
||||||
# This file contains the names of kernel modules that should be loaded at boot time, one per line. Lines beginning with "#" are ignored.
|
# This file contains the names of kernel modules that should be loaded at boot time, one per line. Lines beginning with "#" are ignored.
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
{{ ansible_managed | comment }}
|
{{ ansible_managed | comment }}
|
||||||
|
# Generated by Ansible {{ ansible_role_name }}
|
||||||
|
|
||||||
# See libuser.conf(5) for more information.
|
# See libuser.conf(5) for more information.
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
{{ ansible_managed | comment }}
|
{{ ansible_managed | comment }}
|
||||||
|
# Generated by Ansible {{ ansible_role_name }}
|
||||||
|
|
||||||
# Configuration control definitions for the login package.
|
# Configuration control definitions for the login package.
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
{{ ansible_managed | comment }}
|
{{ ansible_managed | comment }}
|
||||||
|
# Generated by Ansible {{ ansible_role_name }}
|
||||||
|
|
||||||
{% for fs in os_unused_filesystems | difference(os_filesystem_whitelist) %}
|
{% for fs in os_unused_filesystems | difference(os_filesystem_whitelist) %}
|
||||||
install {{fs}} /bin/true
|
install {{fs}} /bin/true
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
{{ ansible_managed | comment }}
|
{{ ansible_managed | comment }}
|
||||||
|
# Generated by Ansible {{ ansible_role_name }}
|
||||||
|
|
||||||
#%PAM-1.0
|
#%PAM-1.0
|
||||||
{% if os_auth_retries > 0 %}
|
{% if os_auth_retries > 0 %}
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
{{ ansible_managed | comment }}
|
{{ ansible_managed | comment }}
|
||||||
|
# Generated by Ansible {{ ansible_role_name }}
|
||||||
|
|
||||||
# Disable core dumps via soft limits for all users. Compliance to this setting is voluntary and can be modified by users up to a hard limit. This setting is a sane default.
|
# Disable core dumps via soft limits for all users. Compliance to this setting is voluntary and can be modified by users up to a hard limit. This setting is a sane default.
|
||||||
ulimit -S -c 0 > /dev/null 2>&1
|
ulimit -S -c 0 > /dev/null 2>&1
|
||||||
@@ -1,4 +1,5 @@
|
|||||||
{{ ansible_managed | comment }}
|
{{ ansible_managed | comment }}
|
||||||
|
# Generated by Ansible {{ ansible_role_name }}
|
||||||
|
|
||||||
# A list of TTYs, from which root can log in
|
# A list of TTYs, from which root can log in
|
||||||
# see `man securetty` for reference
|
# see `man securetty` for reference
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
{{ ansible_managed | comment }}
|
{{ ansible_managed | comment }}
|
||||||
|
# Generated by Ansible {{ ansible_role_name }}
|
||||||
|
|
||||||
# color => new RH6.0 bootup
|
# color => new RH6.0 bootup
|
||||||
# verbose => old-style bootup
|
# verbose => old-style bootup
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
{{ ansible_managed | comment }}
|
{{ ansible_managed | comment }}
|
||||||
|
# Generated by Ansible {{ ansible_role_name }}
|
||||||
|
|
||||||
Name: passwdqc password strength enforcement
|
Name: passwdqc password strength enforcement
|
||||||
Default: yes
|
Default: yes
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
{{ ansible_managed | comment }}
|
{{ ansible_managed | comment }}
|
||||||
|
# Generated by Ansible {{ ansible_role_name }}
|
||||||
|
|
||||||
Name: tally2 lockout after failed attempts enforcement
|
Name: tally2 lockout after failed attempts enforcement
|
||||||
Default: yes
|
Default: yes
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
{{ ansible_managed | comment }}
|
{{ ansible_managed | comment }}
|
||||||
|
# Generated by Ansible {{ ansible_role_name }}
|
||||||
|
|
||||||
{% for principal in item.principals %}
|
{% for principal in item.principals %}
|
||||||
{{ principal }}
|
{{ principal }}
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
#jinja2: trim_blocks: "true", lstrip_blocks: "true"
|
#jinja2: trim_blocks: "true", lstrip_blocks: "true"
|
||||||
{{ ansible_managed | comment }}
|
{{ ansible_managed | comment }}
|
||||||
|
# Generated by Ansible {{ ansible_role_name }}
|
||||||
|
|
||||||
# This is the ssh client system-wide configuration file.
|
# This is the ssh client system-wide configuration file.
|
||||||
# See ssh_config(5) for more information on any settings used.
|
# See ssh_config(5) for more information on any settings used.
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
#jinja2: trim_blocks: "true", lstrip_blocks: "true"
|
#jinja2: trim_blocks: "true", lstrip_blocks: "true"
|
||||||
{{ ansible_managed | comment }}
|
{{ ansible_managed | comment }}
|
||||||
|
# Generated by Ansible {{ ansible_role_name }}
|
||||||
|
|
||||||
# This is the sshd server system-wide configuration file.
|
# This is the sshd server system-wide configuration file.
|
||||||
# See sshd_config(5) for more information.
|
# See sshd_config(5) for more information.
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
{{ ansible_managed | comment }}
|
{{ ansible_managed | comment }}
|
||||||
|
# Generated by Ansible {{ ansible_role_name }}
|
||||||
|
|
||||||
{% for key in ssh_server_revoked_keys %}
|
{% for key in ssh_server_revoked_keys %}
|
||||||
{{ key }}
|
{{ key }}
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
{{ ansible_managed | comment }}
|
{{ ansible_managed | comment }}
|
||||||
|
# Generated by Ansible {{ ansible_role_name }}
|
||||||
|
|
||||||
{% for key in ssh_trusted_user_ca_keys %}
|
{% for key in ssh_trusted_user_ca_keys %}
|
||||||
{{ key }}
|
{{ key }}
|
||||||
|
|||||||
Reference in new issue
Block a user