Skip to content

Commit fe3caad

Browse files
evilhamstermanalessfg
authored andcommitted
Add ansible_managed to templates (#81)
* Add ansible_managed to templates * Put ansible managed in the right place * Remove extraneous empty line
1 parent dad58ec commit fe3caad

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

templates/http/default.conf.j2

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# {{ ansible_managed }}
2+
13
{% if item.value.upstreams is defined %}
24
{% for upstream in item.value.upstreams %}
35
upstream {{ item.value.upstreams[upstream].name }} {

templates/nginx.conf.j2

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# {{ ansible_managed }}
2+
13
user {{ nginx_main_template.user }};
24
worker_processes {{ nginx_main_template.worker_processes }};
35

templates/stream/stream.conf.j2

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# {{ ansible_managed }}
2+
13
server {
24
listen {{ nginx_stream_template_listen }};
35
}

templates/www/index.html.j2

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
<!-- {{ ansible_managed }} -->
2+
13
<!DOCTYPE html>
24
<html>
35
<head>

0 commit comments

Comments
 (0)