1.add yml file to restart telegraf_statistic
This commit is contained in:
11
tasks/restart_process/restart_telegraf_statistic.yml
Normal file
11
tasks/restart_process/restart_telegraf_statistic.yml
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user