1.add restart scripts adc-exporter-systemd
This commit is contained in:
14
tasks/restart_process/restart_adc-exporter-systemd.yml
Normal file
14
tasks/restart_process/restart_adc-exporter-systemd.yml
Normal file
@@ -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
|
||||||
|
|
||||||
@@ -3,3 +3,4 @@
|
|||||||
- include: restart_sapp.yml
|
- include: restart_sapp.yml
|
||||||
- include: restart_certstore.yml
|
- include: restart_certstore.yml
|
||||||
- include: restart_tfe.yml
|
- include: restart_tfe.yml
|
||||||
|
- include: restart_adc-exporter-systemd.yml
|
||||||
|
|||||||
Reference in New Issue
Block a user