forked from ISTI-ansible-roles/ansible-roles
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:
|
||||
- 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
|
||||
|
|
Loading…
Reference in New Issue