add restart tfe, sapp, tfe task

This commit is contained in:
fumingwei
2020-11-26 15:43:17 +06:00
parent a2a185b505
commit 856325b6a1
4 changed files with 11 additions and 41 deletions

View File

@@ -1,41 +0,0 @@
###################
# For example #
###################
#变量device_id根据设备序号设置即可
#变量vvipv4_1、vvipv4_2、vvipv6_1、vvipv6_2为Allot相关配置其他环境可不填或直接删除变量
#
#20.09版本新增APP部署
#[app_global]
#0.0.0.0
#[server-as-tun-mode]
#1.1.1.1 device_id=device_1
#
#[adc_mxn]
#10.3.72.1
#10.3.72.2
#
#[adc_mcn0]
#10.3.73.1 device_id=device_1 vvipv4_1=10.3.61.1 vvipv4_2=10.3.62.1 vvipv6_1=fc00::61:1 vvipv6_2=fc00::62:1
#10.3.73.2 device_id=device_2 vvipv4_1=10.3.61.2 vvipv4_2=10.3.62.2 vvipv6_1=fc00::61:2 vvipv6_2=fc00::62:2
#
#[adc_mcn1]
#10.3.74.1 device_id=device_1
#10.3.74.2 device_id=device_2
#
#[adc_mcn2]
#10.3.75.1 device_id=device_1
#10.3.75.2 device_id=device_2
#
#[adc_mcn3]
#10.3.76.1 device_id=device_1
#10.3.76.2 device_id=device_2
#[app_global]
#[server-as-tun-mode]
#broken warning:
#10.4.52.71
[adc_mcn0]
10.4.51.[21:22]
10.4.51.[53:54]

View File

@@ -37,6 +37,7 @@
#10.17.54.31
#10.17.54.32
#10.17.54.33
#10.17.53.33
[adc_mxn]
10.17.55.[1:33]
[adc_mcn0]

View File

@@ -0,0 +1,4 @@
---
- include: restart_sapp.yml
- include: restart_certstore.yml
- include: restart_tfe.yml

View File

@@ -18,3 +18,9 @@
shell: systemctl daemon-reload; systemctl reset-failed node-exporter
ignore_errors: true
- name: 'start adc-exporter-node service'
systemd:
name: adc-exporter-node
state: started
enabled: yes