Adjust ansible_managed to use comment filter

We don't need to comment the ansible_managed block manually.
This commit is contained in:
Alan Orth 2019-01-10 12:50:54 +02:00
parent e6d5e81d29
commit bbab45ae6f
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
5 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
# {{ ansible_managed }} {{ ansible_managed | comment }}
{% if ansible_distribution == 'Ubuntu' %} {% if ansible_distribution == 'Ubuntu' %}
deb [arch=amd64] http://mirror.23media.de/mariadb/repo/10.3/ubuntu {{ ansible_distribution_release }} main deb [arch=amd64] http://mirror.23media.de/mariadb/repo/10.3/ubuntu {{ ansible_distribution_release }} main

View File

@ -1,4 +1,4 @@
# {{ ansible_managed }} {{ ansible_managed | comment }}
# MariaDB database server configuration file. # MariaDB database server configuration file.
# #

View File

@ -1,4 +1,4 @@
# {{ ansible_managed }} {{ ansible_managed | comment }}
# default blank vhost # default blank vhost
# #

View File

@ -1,4 +1,4 @@
# {{ ansible_managed }} {{ ansible_managed | comment }}
{% if ansible_distribution == 'Ubuntu' %} {% if ansible_distribution == 'Ubuntu' %}
{% if nginx_version == "stable" %} {% if nginx_version == "stable" %}

View File

@ -1,4 +1,4 @@
# {{ ansible_managed }} {{ ansible_managed | comment }}
{# 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 %}