--- - name: "home dir" file: state=directory path="{{ qux_home }}" - name: "config file" template: src="docker-compose.yml.j2" dest="{{ qux_home }}/docker-compose.yml" - name: "docker compose up" community.docker.docker_compose_v2: project_src: "{{ qux_home }}" #project_name: "{{ qux_home|basename }}" pull: "{{ 'always' if qux_pull|default(false) else omit }}" remove_orphans: true