Skip to content

Commit bb4d010

Browse files
authored
chore: Add ansible_managed comment to templated configs (#763)
1 parent e247d49 commit bb4d010

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

templates/logrotate/nginx.j2

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
{{ ansible_managed | comment }}
2+
13
{% if nginx_logrotate_conf['paths'] is defined and nginx_logrotate_conf['paths'] is not mapping %}
24
{% for path in nginx_logrotate_conf['paths'] if nginx_logrotate_conf['paths'] is not string %}
35
{{ path }}

templates/selinux/nginx-plus-module.te.j2

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
{{ ansible_managed | comment }}
2+
13
module nginx-plus-module 1.0;
24

35
require {

templates/services/nginx.service.override.conf.j2

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
{{ ansible_managed | comment }}
2+
13
[Service]
24
{% if nginx_service_timeoutstartsec is defined %}
35
TimeoutStartSec={{ nginx_service_timeoutstartsec }}

0 commit comments

Comments
 (0)