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
11 lines
320 B
YAML
11 lines
320 B
YAML
- name: Ensure caddy network exists
|
|
community.docker.docker_network:
|
|
name: caddy
|
|
|
|
- name: Start the compose stack
|
|
community.docker.docker_compose_v2:
|
|
project_name: caddy
|
|
definition: "{{ lookup('template', 'compose.yaml.jinja') | from_yaml }}"
|
|
remove_orphans: true
|
|
wait: true
|
|
wait_timeout: 60
|