1.add role tsg_env_patch
2.delete role which is unuseful
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
99c99
|
||||
< ${CURRENT_PATH}/${REMOTE_CONTROL_BIN} -s ${TP_SVR} -n ${TP_PORT} -c "show version"
|
||||
---
|
||||
> echo "show version" | nc ${TP_SVR} ${TP_PORT}
|
||||
136c136
|
||||
< MAC_TABLE=`${CURRENT_PATH}/${REMOTE_CONTROL_BIN} -s ${TP_SVR} -n ${TP_PORT} -c "show mac table all"`
|
||||
---
|
||||
> MAC_TABLE=$(echo "show mac table all" | nc ${TP_SVR} ${TP_PORT})
|
||||
5
roles/tsg-env-patch/tasks/main.yml
Normal file
5
roles/tsg-env-patch/tasks/main.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
- name: "patch setup scripts in tsg-env"
|
||||
patch:
|
||||
src: "{{ role_path }}/files/replace_switch_non_block_with_nc_v2.patch"
|
||||
dest: /opt/tsg/env/setup
|
||||
backup: true
|
||||
1317
roles/tsg-env-patch/templates/maat-redis.conf.j2
Normal file
1317
roles/tsg-env-patch/templates/maat-redis.conf.j2
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user