Use {{ ansible_managed | comment }} to fix multi-line ansible_managed

BZ#2006230, BZ#2006231, BZ#2006233
This commit is contained in:
Sergei Petrosian 2021-09-21 11:41:17 +02:00
parent b1fe667432
commit 44a7d8fb20
3 changed files with 3 additions and 3 deletions

View file

@ -1 +1 @@
# {{ ansible_managed }} {{ ansible_managed | comment }}

View file

@ -1,4 +1,4 @@
# {{ ansible_managed }} {{ ansible_managed | comment }}
{% macro render_option(key,value,indent=false) %} {% macro render_option(key,value,indent=false) %}
{% if value is defined %} {% if value is defined %}
{% if indent %} {% endif %} {% if indent %} {% endif %}

View file

@ -1,4 +1,4 @@
# {{ ansible_managed }} {{ ansible_managed | comment }}
{% if __sshd_sysconfig_supports_crypto_policy %} {% if __sshd_sysconfig_supports_crypto_policy %}
{% if sshd_sysconfig_override_crypto_policy == true %} {% if sshd_sysconfig_override_crypto_policy == true %}
CRYPTO_POLICY= CRYPTO_POLICY=