1.add yml file to restart telegraf_statistic
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
- hosts:
|
- hosts:
|
||||||
|
- adc_mxn
|
||||||
- adc_mcn0
|
- adc_mcn0
|
||||||
- adc_mcn1
|
- adc_mcn1
|
||||||
- adc_mcn2
|
- adc_mcn2
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
- include: restart_telegraf_statistic.yml
|
||||||
- include: restart_mrzcpd.yml
|
- include: restart_mrzcpd.yml
|
||||||
- include: restart_sapp.yml
|
- include: restart_sapp.yml
|
||||||
- include: restart_certstore.yml
|
- include: restart_certstore.yml
|
||||||
|
|||||||
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