Redis: do not fail stopping the service before removing the packages.

This commit is contained in:
Andrea Dell'Amico 2019-12-12 13:54:17 +01:00
parent b585baee9b
commit 790a95482b
1 changed files with 1 additions and 0 deletions

View File

@ -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