1.add yml file to restart telegraf_statistic

This commit is contained in:
fumingwei
2020-11-20 16:52:50 +06:00
parent 363348f169
commit ebd9adc3a9
3 changed files with 13 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
- hosts:
- adc_mcn0
remote_user: root
tasks:
- name: 'telegraf_statistic service start'
systemd:
name: telegraf_statistic
enabled: yes
daemon_reload: yes
state: restarted