diff --git a/templates/etc/default/redis-server.j2 b/templates/etc/default/redis-server.j2 index e495d14..5494165 100644 --- a/templates/etc/default/redis-server.j2 +++ b/templates/etc/default/redis-server.j2 @@ -1,4 +1,4 @@ -# This file is managed by Ansible, all changes will be lost +# {{ ansible_managed }} # redis-server configure options diff --git a/templates/etc/init.d/redis-sentinel.j2 b/templates/etc/init.d/redis-sentinel.j2 index 26188ad..4e54b79 100755 --- a/templates/etc/init.d/redis-sentinel.j2 +++ b/templates/etc/init.d/redis-sentinel.j2 @@ -1,6 +1,6 @@ #!/bin/sh -# This file is managed by Ansible, all changes will be lost +# {{ ansible_managed }} ### BEGIN INIT INFO # Provides: redis-sentinel diff --git a/templates/etc/init.d/service.j2 b/templates/etc/init.d/service.j2 index ad98b49..9630a01 100755 --- a/templates/etc/init.d/service.j2 +++ b/templates/etc/init.d/service.j2 @@ -1,6 +1,6 @@ #!/bin/sh -# This file is managed by Ansible, all changes will be lost +# {{ ansible_managed }} ### BEGIN INIT INFO # Provides: redis-{{ item.name }} diff --git a/templates/etc/redis/redis-ansible.conf.j2 b/templates/etc/redis/redis-ansible.conf.j2 index 6bff130..fb5bdce 100644 --- a/templates/etc/redis/redis-ansible.conf.j2 +++ b/templates/etc/redis/redis-ansible.conf.j2 @@ -1,4 +1,4 @@ -# This file is managed by Ansible, all changes will be lost +# {{ ansible_managed }} {% set redis_tpl_redis_version = register_redis_version.stdout | replace('v=', '') -%} {# UNITS diff --git a/templates/etc/redis/sentinel-ansible.conf.j2 b/templates/etc/redis/sentinel-ansible.conf.j2 index 4cc7167..11c7912 100644 --- a/templates/etc/redis/sentinel-ansible.conf.j2 +++ b/templates/etc/redis/sentinel-ansible.conf.j2 @@ -1,4 +1,4 @@ -# This file is managed by Ansible, all changes will be lost +# {{ ansible_managed }} ############################### GENERAL ##################################### diff --git a/templates/usr/local/lib/redis/trigger.sh.j2 b/templates/usr/local/lib/redis/trigger.sh.j2 index 11da08c..9c79269 100755 --- a/templates/usr/local/lib/redis/trigger.sh.j2 +++ b/templates/usr/local/lib/redis/trigger.sh.j2 @@ -1,6 +1,6 @@ #!/bin/bash -# This file is managed by Ansible, all changes will be lost +# {{ ansible_managed }} set -e