From 0d5b9b1ea23d3da6feab99ba720af27abcabd128 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Tue, 27 Aug 2019 22:04:33 +0200 Subject: [PATCH] fix ansible_managed handling --- templates/etc/systemd/system/drone.service.j2 | 2 +- templates/services/droneci-compose.yml.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/etc/systemd/system/drone.service.j2 b/templates/etc/systemd/system/drone.service.j2 index 81ae92b..b2f5d37 100644 --- a/templates/etc/systemd/system/drone.service.j2 +++ b/templates/etc/systemd/system/drone.service.j2 @@ -1,5 +1,5 @@ #jinja2:lstrip_blocks: True -# {{ ansible_managed }} +{{ ansible_managed | managed }} [Unit] Description=Drone CI compose service Requires=docker.service diff --git a/templates/services/droneci-compose.yml.j2 b/templates/services/droneci-compose.yml.j2 index 719fa6a..e211e3d 100644 --- a/templates/services/droneci-compose.yml.j2 +++ b/templates/services/droneci-compose.yml.j2 @@ -1,5 +1,5 @@ #jinja2:lstrip_blocks: True -# {{ ansible_managed }} +{{ ansible_managed | comment }} version: '2' services: