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 }}