From 790a95482b409daca8623bbb03d9f7bf7994a628 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Thu, 12 Dec 2019 13:54:17 +0100 Subject: [PATCH] Redis: do not fail stopping the service before removing the packages. --- library/roles/redis/tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/library/roles/redis/tasks/main.yml b/library/roles/redis/tasks/main.yml index 1103643..77d5fe1 100644 --- a/library/roles/redis/tasks/main.yml +++ b/library/roles/redis/tasks/main.yml @@ -26,6 +26,7 @@ - block: - name: Stop and disable the Redis service service: name=redis-server state=stopped enabled=no + ignore_errors: True - name: Remove the Redis packages apt: name={{ redis_server_pkg }} state=absent