From ce653b699c5326190452f421766c18413b46cf5a Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Wed, 27 Dec 2017 13:42:23 +0100 Subject: [PATCH] Rename variable to prevent name collisions Signed-off-by: Knut Ahlers --- defaults/main.yml | 4 ++-- tasks/main.yml | 2 +- templates/docker-compose.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index 044df7a..e6a7c4c 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -1,7 +1,7 @@ --- -reload_minutes: 15 +docker_compose_reload_minutes: 15 -config: +docker_compose_config: version: "3" services: diff --git a/tasks/main.yml b/tasks/main.yml index d83436b..3c6c71e 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -104,7 +104,7 @@ After=docker-compose.service [Timer] - OnCalendar=*:0/{{ reload_minutes }} + OnCalendar=*:0/{{ docker_compose_reload_minutes }} [Install] WantedBy=timers.target diff --git a/templates/docker-compose.yml b/templates/docker-compose.yml index b3ab9a8..d478d82 100644 --- a/templates/docker-compose.yml +++ b/templates/docker-compose.yml @@ -1,3 +1,3 @@ # {{ ansible_managed }} -{{ config | to_nice_yaml }} +{{ docker_compose_config | to_nice_yaml }}