From ace7217ffd926dde9ed9d61c32fb621d2e5162a9 Mon Sep 17 00:00:00 2001 From: Matt Reeves Date: Sat, 12 Oct 2024 14:04:37 -0400 Subject: [PATCH] remove orphans in CD --- ansible/playbooks/deploy-docker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/playbooks/deploy-docker.yml b/ansible/playbooks/deploy-docker.yml index 728d41d..08feec3 100644 --- a/ansible/playbooks/deploy-docker.yml +++ b/ansible/playbooks/deploy-docker.yml @@ -15,7 +15,7 @@ var: git_pull_output.stdout_lines - name: Restart services - command: docker compose up -d + command: docker compose up -d --remove-orphans args: chdir: "{{ repo_path }}" register: docker_compose_output