diff --git a/tasks/restart_process/restart_adc-exporter-systemd.yml b/tasks/restart_process/restart_adc-exporter-systemd.yml index f020f91..625abba 100644 --- a/tasks/restart_process/restart_adc-exporter-systemd.yml +++ b/tasks/restart_process/restart_adc-exporter-systemd.yml @@ -1,4 +1,5 @@ - hosts: + - adc_mxn - adc_mcn0 - adc_mcn1 - adc_mcn2 diff --git a/tasks/restart_process/restart_process.yml b/tasks/restart_process/restart_process.yml index b1a8cd5..4df97bd 100644 --- a/tasks/restart_process/restart_process.yml +++ b/tasks/restart_process/restart_process.yml @@ -1,4 +1,5 @@ --- +- include: restart_telegraf_statistic.yml - include: restart_mrzcpd.yml - include: restart_sapp.yml - include: restart_certstore.yml diff --git a/tasks/restart_process/restart_telegraf_statistic.yml b/tasks/restart_process/restart_telegraf_statistic.yml new file mode 100644 index 0000000..da182db --- /dev/null +++ b/tasks/restart_process/restart_telegraf_statistic.yml @@ -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 +