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:
parent
c584f6e238
commit
9a8c4ae81f
11 changed files with 6 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue