1. add role of switch_control
2. modify NurSultan deploy file to deploy switch_control
This commit is contained in:
@@ -126,6 +126,14 @@
|
|||||||
roles:
|
roles:
|
||||||
- adc_exporter_proxy
|
- adc_exporter_proxy
|
||||||
|
|
||||||
|
- hosts:
|
||||||
|
- adc_mcn0
|
||||||
|
- adc_mcn1
|
||||||
|
- adc_mcn2
|
||||||
|
- adc_mcn3
|
||||||
|
remote_user: root
|
||||||
|
roles:
|
||||||
|
- switch_control
|
||||||
|
|
||||||
- hosts: server-as-tun-mode
|
- hosts: server-as-tun-mode
|
||||||
remote_user: root
|
remote_user: root
|
||||||
|
|||||||
BIN
roles/switch_control/files/switch_control_client_non_block
Executable file
BIN
roles/switch_control/files/switch_control_client_non_block
Executable file
Binary file not shown.
5
roles/switch_control/tasks/main.yml
Normal file
5
roles/switch_control/tasks/main.yml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
- name: "copy switch_control_client_non_block"
|
||||||
|
copy:
|
||||||
|
src: '{{ role_path }}/files/switch_control_client_non_block'
|
||||||
|
dest: /opt/tsg/env/switch_control_client_non_block
|
||||||
|
mode: 0755
|
||||||
Reference in New Issue
Block a user