From 7add9324c8ed906bd50aa459e0cccedb058bece2 Mon Sep 17 00:00:00 2001 From: Tobias Manske Date: Mon, 22 Jan 2024 15:36:29 +0100 Subject: [PATCH] fixup! fixup! fixup! Migrate to docker_compose_v2 --- tasks/build.yml | 1 - tasks/running.yml | 5 ++--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/tasks/build.yml b/tasks/build.yml index 4c1c3bb..7ae1e26 100644 --- a/tasks/build.yml +++ b/tasks/build.yml @@ -6,7 +6,6 @@ community.docker.docker_compose_v2: project_src: "{{ service_dir | mandatory }}" state: present - restarted: false recreate: "auto" build: "always" remove_orphans: true diff --git a/tasks/running.yml b/tasks/running.yml index faaffdb..a11f21a 100644 --- a/tasks/running.yml +++ b/tasks/running.yml @@ -5,9 +5,8 @@ - name: Restart Service community.docker.docker_compose_v2: project_src: "{{ service_dir | mandatory }}" - pull: always - state: present - restarted: true + pull: "policy" + state: restarted recreate: "auto" build: "never" profiles: docker_profiles