2024-02-02 15:17:44 +01:00
|
|
|
---
|
|
|
|
- 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"
|
2024-10-18 17:28:58 +02:00
|
|
|
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
|