diff --git a/tasks/restart_process/restart_adc-exporter-systemd.yml b/tasks/restart_process/restart_adc-exporter-systemd.yml new file mode 100644 index 0000000..f020f91 --- /dev/null +++ b/tasks/restart_process/restart_adc-exporter-systemd.yml @@ -0,0 +1,14 @@ +- hosts: + - adc_mcn0 + - adc_mcn1 + - adc_mcn2 + - adc_mcn3 + remote_user: root + tasks: + - name: 'adc-exporter-systemd service start' + systemd: + name: adc-exporter-systemd + enabled: yes + daemon_reload: yes + state: restarted + diff --git a/tasks/restart_process/restart_process.yml b/tasks/restart_process/restart_process.yml index 3774f00..b1a8cd5 100644 --- a/tasks/restart_process/restart_process.yml +++ b/tasks/restart_process/restart_process.yml @@ -3,3 +3,4 @@ - include: restart_sapp.yml - include: restart_certstore.yml - include: restart_tfe.yml +- include: restart_adc-exporter-systemd.yml