Add ansible_managed to templates (#81)

* Add ansible_managed to templates

* Put ansible managed in the right place

* Remove extraneous empty line
This commit is contained in:
Daniel Mills 2019-01-03 14:13:56 -08:00 committed by Alessandro Fael Garcia
parent dad58ec5cd
commit fe3caad174
4 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,5 @@
# {{ ansible_managed }}
{% if item.value.upstreams is defined %}
{% for upstream in item.value.upstreams %}
upstream {{ item.value.upstreams[upstream].name }} {

View File

@ -1,3 +1,5 @@
# {{ ansible_managed }}
user {{ nginx_main_template.user }};
worker_processes {{ nginx_main_template.worker_processes }};

View File

@ -1,3 +1,5 @@
# {{ ansible_managed }}
server {
listen {{ nginx_stream_template_listen }};
}

View File

@ -1,3 +1,5 @@
<!-- {{ ansible_managed }} -->
<!DOCTYPE html>
<html>
<head>