- name: make stirling directories ansible.builtin.file: path: "{{ item}}" state: directory loop: - /opt/stacks/stirling - name: Template out the compose file ansible.builtin.template: src: stirling-compose.yml.j2 dest: /opt/stacks/stirling/compose.yml owner: root mode: 644 - name: deploy stirling stack community.docker.docker_compose_v2: project_src: /opt/stacks/stirling files: - compose.yml