1. add task delete mrzcpd memory.conf and uninstall redis
2. modify stop telegraf_collect to delete telegraf_collect file
This commit is contained in:
14
tasks/uninstall_redis40u.yml
Normal file
14
tasks/uninstall_redis40u.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
- hosts: adc_mcn3
|
||||
remote_user: root
|
||||
tasks:
|
||||
- name: 'redis service stop'
|
||||
systemd:
|
||||
name: redis
|
||||
enabled: no
|
||||
daemon_reload: yes
|
||||
state: stopped
|
||||
|
||||
- name: remove the redis40u
|
||||
yum:
|
||||
name: redis40u
|
||||
state: absent
|
||||
Reference in New Issue
Block a user