Skip to content

Commit

Permalink
Merge pull request #213 from ansible-lockdown/template_warnings
Browse files Browse the repository at this point in the history
added managed by ansible warning to templates
  • Loading branch information
uk-bolly authored Jun 30, 2022
2 parents 2fabf2a + 8b41132 commit 1ee0d1e
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 1 deletion.
2 changes: 2 additions & 0 deletions templates/audit/99_auditd.rules.j2
Original file line number Diff line number Diff line change
@@ -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
{% if rhel8cis_rule_4_1_3_1 %}
-w /etc/sudoers -p wa -k scope
Expand Down
2 changes: 2 additions & 0 deletions templates/chrony.conf.j2
Original file line number Diff line number Diff line change
@@ -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
# editing this file use the command 'invoke-rc.d chrony restart' to make
# your changes take effect. John Hasler <jhasler@debian.org> 1998-2008
Expand Down
2 changes: 2 additions & 0 deletions templates/etc/systemd/system/tmp.mount.j2
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## This file is managed by Ansible, YOUR CHANGED WILL BE LOST!

# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
Expand Down
3 changes: 2 additions & 1 deletion templates/hosts.allow.j2
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#
## This file is managed by Ansible, YOUR CHANGED WILL BE LOST!

# hosts.allow This file contains access rules which are used to
# allow or deny connections to network services that
# either use the tcp_wrappers library or that have been
Expand Down
2 changes: 2 additions & 0 deletions templates/ntp.conf.j2
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## This file is managed by Ansible, YOUR CHANGED WILL BE LOST!

# For more information about this file, see the man pages
# ntp.conf(5), ntp_acc(5), ntp_auth(5), ntp_clock(5), ntp_misc(5), ntp_mon(5).

Expand Down

0 comments on commit 1ee0d1e

Please sign in to comment.