1. mv restart task yml file into restart_process directory
This commit is contained in:
11
tasks/restart_process/restart_certstore.yml
Normal file
11
tasks/restart_process/restart_certstore.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
- hosts:
|
||||
- adc_mcn0
|
||||
remote_user: root
|
||||
tasks:
|
||||
- name: 'certstore service start'
|
||||
systemd:
|
||||
name: certstore
|
||||
enabled: yes
|
||||
daemon_reload: yes
|
||||
state: restarted
|
||||
|
||||
14
tasks/restart_process/restart_mrzcpd.yml
Normal file
14
tasks/restart_process/restart_mrzcpd.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
- hosts:
|
||||
- adc_mcn0
|
||||
- adc_mcn1
|
||||
- adc_mcn2
|
||||
- adc_mcn3
|
||||
remote_user: root
|
||||
tasks:
|
||||
- name: 'mrzcpd service start'
|
||||
systemd:
|
||||
name: mrzcpd
|
||||
enabled: yes
|
||||
daemon_reload: yes
|
||||
state: restarted
|
||||
|
||||
5
tasks/restart_process/restart_process.yml
Normal file
5
tasks/restart_process/restart_process.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
- include: restart_mrzcpd.yml
|
||||
- include: restart_sapp.yml
|
||||
- include: restart_certstore.yml
|
||||
- include: restart_tfe.yml
|
||||
11
tasks/restart_process/restart_sapp.yml
Normal file
11
tasks/restart_process/restart_sapp.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
- hosts:
|
||||
- adc_mcn0
|
||||
remote_user: root
|
||||
tasks:
|
||||
- name: 'sapp service start'
|
||||
systemd:
|
||||
name: sapp
|
||||
enabled: yes
|
||||
daemon_reload: yes
|
||||
state: restarted
|
||||
|
||||
13
tasks/restart_process/restart_tfe.yml
Normal file
13
tasks/restart_process/restart_tfe.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
- hosts:
|
||||
- adc_mcn1
|
||||
- adc_mcn2
|
||||
- adc_mcn3
|
||||
remote_user: root
|
||||
tasks:
|
||||
- name: 'tfe service start'
|
||||
systemd:
|
||||
name: tfe
|
||||
enabled: yes
|
||||
daemon_reload: yes
|
||||
state: restarted
|
||||
|
||||
Reference in New Issue
Block a user