diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-05-21 17:59:28 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-05-21 17:59:28 +0200 |
commit | a24557cad03414d88722f79ae9f7522ac27223c0 (patch) | |
tree | aacefdbfbbfb2205fa83604667fe1e098abf6a61 /roles | |
parent | inventory: update vpn-ru port (diff) | |
download | maintenance-a24557cad03414d88722f79ae9f7522ac27223c0.tar.gz maintenance-a24557cad03414d88722f79ae9f7522ac27223c0.zip |
my_server: update docker-compose flags
Diffstat (limited to 'roles')
-rw-r--r-- | roles/my_server/tasks/main.yml | 6 |
1 files changed, 3 insertions, 3 deletions
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 }}' |