diff --git a/NurSultan_install_config/hosts.test b/NurSultan_install_config/hosts.test index 180d6e2..d638951 100644 --- a/NurSultan_install_config/hosts.test +++ b/NurSultan_install_config/hosts.test @@ -36,14 +36,14 @@ #broken warning: #10.4.52.71 [adc_mxn] -10.4.55.19 +10.4.55.65 [adc_mcn0] -10.4.51.19 +10.4.51.65 [adc_mcn1] -10.4.52.19 +10.4.52.65 [adc_mcn2] -10.4.53.19 +10.4.53.65 [adc_mcn3] -10.4.54.19 +10.4.54.65 [packet_dump_server] 10.4.61.3 diff --git a/tasks/restart_certstore.yml b/tasks/restart_process/restart_certstore.yml similarity index 100% rename from tasks/restart_certstore.yml rename to tasks/restart_process/restart_certstore.yml diff --git a/tasks/restart_process/restart_mrzcpd.yml b/tasks/restart_process/restart_mrzcpd.yml new file mode 100644 index 0000000..39e12ed --- /dev/null +++ b/tasks/restart_process/restart_mrzcpd.yml @@ -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 + diff --git a/tasks/restart_process.yml b/tasks/restart_process/restart_process.yml similarity index 75% rename from tasks/restart_process.yml rename to tasks/restart_process/restart_process.yml index dd10ef2..3774f00 100644 --- a/tasks/restart_process.yml +++ b/tasks/restart_process/restart_process.yml @@ -1,4 +1,5 @@ --- +- include: restart_mrzcpd.yml - include: restart_sapp.yml - include: restart_certstore.yml - include: restart_tfe.yml diff --git a/tasks/restart_sapp.yml b/tasks/restart_process/restart_sapp.yml similarity index 100% rename from tasks/restart_sapp.yml rename to tasks/restart_process/restart_sapp.yml diff --git a/tasks/restart_tfe.yml b/tasks/restart_process/restart_tfe.yml similarity index 100% rename from tasks/restart_tfe.yml rename to tasks/restart_process/restart_tfe.yml