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/tasks/stop_telegraf_collect.yml
fumingwei 6d38d0400e 1. add task delete mrzcpd memory.conf and uninstall redis
2. modify stop telegraf_collect to delete telegraf_collect file
2020-11-17 09:55:03 +06:00

16 lines
442 B
YAML

- hosts:
- adc_mcn0
- adc_mcn1
- adc_mcn2
- adc_mcn3
remote_user: root
tasks:
- name: 'mcn* stop telegraf_collect service'
systemd:
name: telegraf_collect
state: stopped
enabled: no
- name: 'telegraf_collect config file and service file'
shell: rm /etc/telegraf/telegraf_collect.conf; rm /usr/lib/systemd/system/telegraf_collect.service; systemctl daemon-reload