From ece904b21f87da20b2153353a7351f119b0d2eb9 Mon Sep 17 00:00:00 2001 From: BuckarooBanzay Date: Fri, 29 Nov 2024 08:09:49 +0100 Subject: [PATCH] use shell plugin for docker compose --- deploy.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/deploy.yml b/deploy.yml index e236faf..368face 100644 --- a/deploy.yml +++ b/deploy.yml @@ -28,11 +28,9 @@ dest: "{{compose_directory}}/config/matterbridge.test.toml" - name: Create and start services - community.docker.docker_compose_v2: - project_src: "{{ compose_directory }}" - pull: "always" - build: "always" - remove_orphans: yes + shell: + cmd: "docker-compose up -d --build --remove-orphans" + chdir: "{{ compose_directory }}" - name: Reload nginx config shell: