Skip to content

Commit

Permalink
chore: Add ansible_managed comment to templated configs (#763)
Browse files Browse the repository at this point in the history
  • Loading branch information
alessfg authored Aug 13, 2024
1 parent e247d49 commit bb4d010
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/logrotate/nginx.j2
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
{{ ansible_managed | comment }}

{% if nginx_logrotate_conf['paths'] is defined and nginx_logrotate_conf['paths'] is not mapping %}
{% for path in nginx_logrotate_conf['paths'] if nginx_logrotate_conf['paths'] is not string %}
{{ path }}
Expand Down
2 changes: 2 additions & 0 deletions templates/selinux/nginx-plus-module.te.j2
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
{{ ansible_managed | comment }}

module nginx-plus-module 1.0;

require {
Expand Down
2 changes: 2 additions & 0 deletions templates/services/nginx.service.override.conf.j2
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
{{ ansible_managed | comment }}

[Service]
{% if nginx_service_timeoutstartsec is defined %}
TimeoutStartSec={{ nginx_service_timeoutstartsec }}
Expand Down

0 comments on commit bb4d010

Please sign in to comment.