From ac6c5dffabe5681731c9245c5d9f3300b9f1d697 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Thu, 16 Aug 2018 06:35:44 +0200 Subject: [PATCH] Better start from stale images than start nothing Signed-off-by: Knut Ahlers --- tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index 6e9a6d0..876c19e 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -64,7 +64,7 @@ Type=oneshot RemainAfterExit=yes - ExecStartPre=/usr/local/bin/docker-compose pull --quiet --ignore-pull-failures + ExecStartPre=-/usr/local/bin/docker-compose pull --quiet --ignore-pull-failures ExecStart=/usr/local/bin/docker-compose up -d --remove-orphans ExecStop=/usr/local/bin/docker-compose {{ docker_compose_stop_action }}