This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
solutions-tsg-scripts/roles/maat-redis-uninstall/tasks/main.yml
fumingwei 247460820b 1. update rpm package certstore,tsg_master,tsg_conn_sketch,tfe
2. delete reboot by ansible-playbook yml file
2020-11-05 16:41:23 +06:00

21 lines
465 B
YAML

- name: "maat-redis-uninstall: stop maat-redis service"
systemd:
name: "{{ item }}"
state: stopped
with_items:
- maat-redis.service
- redis.service
- name: "maat-redis-uninstall: rm maat-redis.conf and maat-redis.service"
file:
path: "{{ item }}"
state: absent
with_items:
- /etc/maat-redis.conf
- /usr/lib/systemd/system/maat-redis.service
- name: remove redis
yum:
name: redis
state: absent