update
This commit is contained in:
12
deploy.yml
12
deploy.yml
@@ -79,6 +79,17 @@
|
|||||||
roles:
|
roles:
|
||||||
- tsg-diagnose_stop_sync
|
- tsg-diagnose_stop_sync
|
||||||
|
|
||||||
|
- hosts:
|
||||||
|
- adc_mcn0
|
||||||
|
- adc_mcn1
|
||||||
|
- adc_mcn2
|
||||||
|
- adc_mcn3
|
||||||
|
remote_user: root
|
||||||
|
roles:
|
||||||
|
- reboot
|
||||||
|
vars_files:
|
||||||
|
- install_config/group_vars/adc_global.yml
|
||||||
|
|
||||||
- hosts: server-as-tun-mode
|
- hosts: server-as-tun-mode
|
||||||
remote_user: root
|
remote_user: root
|
||||||
vars_files:
|
vars_files:
|
||||||
@@ -101,6 +112,7 @@
|
|||||||
- telegraf_statistic
|
- telegraf_statistic
|
||||||
- proxy_status
|
- proxy_status
|
||||||
# - tsg_device_tag
|
# - tsg_device_tag
|
||||||
|
- reboot
|
||||||
|
|
||||||
- hosts: app_global
|
- hosts: app_global
|
||||||
remote_user: root
|
remote_user: root
|
||||||
|
|||||||
@@ -4,6 +4,10 @@ tsg_access_type: 3
|
|||||||
#####2: ADC;
|
#####2: ADC;
|
||||||
tsg_running_type: 2
|
tsg_running_type: 2
|
||||||
|
|
||||||
|
########################################
|
||||||
|
#Deploy_finished_reboot
|
||||||
|
Deploy_finished_reboot: 1
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
#IP Config
|
#IP Config
|
||||||
maat_redis_server:
|
maat_redis_server:
|
||||||
|
|||||||
@@ -4,6 +4,10 @@ tsg_access_type: 1
|
|||||||
#####0: Tun_mode; 1: normal;
|
#####0: Tun_mode; 1: normal;
|
||||||
tsg_running_type: 1
|
tsg_running_type: 1
|
||||||
|
|
||||||
|
########################################
|
||||||
|
#Deploy_finished_reboot
|
||||||
|
Deploy_finished_reboot: 1
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
#Server Basic Config
|
#Server Basic Config
|
||||||
nic_mgr:
|
nic_mgr:
|
||||||
|
|||||||
@@ -40,6 +40,6 @@
|
|||||||
- tsg_access_type == 4
|
- tsg_access_type == 4
|
||||||
- t_kernel_ml.changed
|
- t_kernel_ml.changed
|
||||||
|
|
||||||
- name: "reboot"
|
#- name: "reboot"
|
||||||
reboot:
|
# reboot:
|
||||||
when: t_kernel_ml.changed
|
# when: t_kernel_ml.changed
|
||||||
|
|||||||
3
roles/reboot/tasks/main.yml
Normal file
3
roles/reboot/tasks/main.yml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
- name: "reboot"
|
||||||
|
reboot:
|
||||||
|
when: Deploy_finished_reboot == 1
|
||||||
Reference in New Issue
Block a user