From a24557cad03414d88722f79ae9f7522ac27223c0 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 21 May 2023 17:59:28 +0200 Subject: my_server: update docker-compose flags --- roles/my_server/tasks/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'roles/my_server/tasks') diff --git a/roles/my_server/tasks/main.yml b/roles/my_server/tasks/main.yml index 277f2d1..36cb4cc 100644 --- a/roles/my_server/tasks/main.yml +++ b/roles/my_server/tasks/main.yml @@ -9,8 +9,8 @@ become: true # community.docker.docker_compose is too confusing for me to use, sorry. shell: | - docker-compose pull --quiet && \ - docker-compose build --pull && \ - docker-compose up -d + docker-compose pull -q && \ + docker-compose build --force-rm --pull -q && \ + docker-compose up --remove-orphans -d args: chdir: '{{ server_dir }}' -- cgit v1.2.3