From 7e2f2308140137765e8ecf4daaf2a27528756e7a Mon Sep 17 00:00:00 2001 From: psy Date: Thu, 14 Jan 2021 14:33:08 +0100 Subject: [PATCH] fix template --- templates/local.d.config.j2 | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/templates/local.d.config.j2 b/templates/local.d.config.j2 index 749dd39..8170701 100644 --- a/templates/local.d.config.j2 +++ b/templates/local.d.config.j2 @@ -1,5 +1,4 @@ -{% for element in item.values() %} -{% for content in element %} -{{ content }} -{% endfor %} +# {{ ansible_managed }} +{% for key, value in item.value.items() %} +{{ key }}={{ value }} {% endfor %}