2026-10-11 01:16:35 +02:00

22 lines
631 B
YAML

---
- name: "set local variables from overrides and defaults"
set_fact:
changedetection: "{{ (changedetection_defaults | combine(changedetection_override, recursive=True)) if changedetection_override else changedetection_defaults }}"
- name: ensure that path exists
file:
path: "{{ path }}/config/changedetection"
state: directory
- name: template docker compose
template:
src: compose.yml.j2
dest: "{{ path }}/compose.yml"
- name: ensure everything is up
community.docker.docker_compose_v2:
project_src: "{{ path }}"
project_name: "{{ role_name }}"
recreate: always
state: "present"