Redis: do not fail stopping the service before removing the packages.
This commit is contained in:
parent
b585baee9b
commit
790a95482b
|
@ -26,6 +26,7 @@
|
||||||
- block:
|
- block:
|
||||||
- name: Stop and disable the Redis service
|
- name: Stop and disable the Redis service
|
||||||
service: name=redis-server state=stopped enabled=no
|
service: name=redis-server state=stopped enabled=no
|
||||||
|
ignore_errors: True
|
||||||
|
|
||||||
- name: Remove the Redis packages
|
- name: Remove the Redis packages
|
||||||
apt: name={{ redis_server_pkg }} state=absent
|
apt: name={{ redis_server_pkg }} state=absent
|
||||||
|
|
Loading…
Reference in New Issue