repo: Rename compose templates to compose.yaml.jinja

It is a short, concicse name for the compose (and one of the ways that
docker officially recommends to name the files), and jinja is the
careful recommendation of the jinja docs.

https://jinja.palletsprojects.com/en/stable/templates/#template-file-extension
This commit is contained in:
Marty Oehme 2025-07-18 21:43:57 +02:00
parent c584f6e238
commit 9a8c4ae81f
Signed by: Marty
GPG key ID: 4E535BC19C61886E
11 changed files with 6 additions and 6 deletions

View file

@ -30,7 +30,7 @@
community.docker.docker_compose_v2:
project_name: arrstack
# project_src: "{{ arrstack_env_dir }}"
definition: "{{ lookup('template', 'docker-compose.yaml.j2') | from_yaml }}"
definition: "{{ lookup('template', 'compose.yaml.jinja') | from_yaml }}"
remove_orphans: true
wait: true
wait_timeout: 60

View file

@ -5,7 +5,7 @@
- name: Start the compose stack
community.docker.docker_compose_v2:
project_name: caddy
definition: "{{ lookup('template', 'docker-compose.yaml.j2') | from_yaml }}"
definition: "{{ lookup('template', 'compose.yaml.jinja') | from_yaml }}"
remove_orphans: true
wait: true
wait_timeout: 60

View file

@ -10,7 +10,7 @@
- name: Start the compose stack
community.docker.docker_compose_v2:
project_name: stack_grocy
definition: "{{ lookup('template', 'docker-compose.yaml.j2') | from_yaml }}"
definition: "{{ lookup('template', 'compose.yaml.jinja') | from_yaml }}"
remove_orphans: true
wait: true
wait_timeout: 60

View file

@ -23,7 +23,7 @@
- name: Start compose stack
community.docker.docker_compose_v2:
project_name: paperless
definition: "{{ lookup('template', 'docker-compose.yaml.j2') | from_yaml }}"
definition: "{{ lookup('template', 'compose.yaml.jinja') | from_yaml }}"
remove_orphans: true
wait: true
wait_timeout: 60

View file

@ -11,7 +11,7 @@
- name: Deploy restic to compose
community.docker.docker_compose_v2:
project_name: restic
definition: "{{ lookup('template', 'docker-compose.yaml.j2') | from_yaml }}"
definition: "{{ lookup('template', 'compose.yaml.jinja') | from_yaml }}"
remove_orphans: true
wait: true
wait_timeout: 60

View file

@ -3,6 +3,6 @@ stack_name: restic
stack_image: "mazzolino/restic"
stack_compose: "{{ lookup('template', 'docker-stack.yml.j2') | from_yaml }}"
stack_compose: "{{ lookup('template', 'compose.yaml.jinja') | from_yaml }}"
backup_enable: true