roles/nginx: Add "ansible managed" string to configs
Generates a placeholder text to say that the file is managed by ansible.
This commit is contained in:
parent
17062c6ea7
commit
b41bd432df
@ -1,3 +1,5 @@
|
|||||||
|
# {{ ansible_managed }}
|
||||||
|
|
||||||
# default blank vhost
|
# default blank vhost
|
||||||
#
|
#
|
||||||
# clients asking for "example.com" should only get a response if we have
|
# clients asking for "example.com" should only get a response if we have
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
# {{ ansible_managed }}
|
||||||
|
|
||||||
{% if ansible_distribution == 'Ubuntu' %}
|
{% if ansible_distribution == 'Ubuntu' %}
|
||||||
{% if nginx_version == "stable" %}
|
{% if nginx_version == "stable" %}
|
||||||
deb http://nginx.org/packages/ubuntu/ {{ ansible_distribution_release }} nginx
|
deb http://nginx.org/packages/ubuntu/ {{ ansible_distribution_release }} nginx
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
# {{ ansible_managed }}
|
||||||
|
|
||||||
{# helper variables and per-site defaults that we can't set in role defaults #}
|
{# helper variables and per-site defaults that we can't set in role defaults #}
|
||||||
{% set domain_name = item.domain_name %}
|
{% set domain_name = item.domain_name %}
|
||||||
{% set domain_aliases = item.domain_aliases | default("") %}
|
{% set domain_aliases = item.domain_aliases | default("") %}
|
||||||
|
Loading…
Reference in New Issue
Block a user