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
16 lines
422 B
YAML
16 lines
422 B
YAML
---
|
|
- name: Create grocy stack environment directory
|
|
ansible.builtin.file:
|
|
state: directory
|
|
path: "{{ stack_grocy_env_dir }}"
|
|
owner: root
|
|
group: root
|
|
mode: 0700
|
|
|
|
- name: Start the compose stack
|
|
community.docker.docker_compose_v2:
|
|
project_name: stack_grocy
|
|
definition: "{{ lookup('template', 'compose.yaml.jinja') | from_yaml }}"
|
|
remove_orphans: true
|
|
wait: true
|
|
wait_timeout: 60
|