From a04ccd35ea30b4ae5ba2db6d84bb9f099bb0442e Mon Sep 17 00:00:00 2001 From: Tobias Manske Date: Mon, 22 Jan 2024 15:40:29 +0100 Subject: [PATCH] fixup! fixup! fixup! fixup! Migrate to docker_compose_v2 --- tasks/running.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tasks/running.yml b/tasks/running.yml index a11f21a..aff5594 100644 --- a/tasks/running.yml +++ b/tasks/running.yml @@ -2,6 +2,16 @@ - include_tasks: present.yml +- name: Start Service + community.docker.docker_compose_v2: + project_src: "{{ service_dir | mandatory }}" + pull: "policy" + state: running + recreate: "auto" + build: "never" + profiles: docker_profiles + remove_orphans: true + - name: Restart Service community.docker.docker_compose_v2: project_src: "{{ service_dir | mandatory }}"