🐞 fix: 删除OS中clixon默认配置模板,只修改chart_name字段
This commit is contained in:
@@ -27,8 +27,5 @@
|
||||
name: tsg-clixon-restconf
|
||||
enabled: yes
|
||||
|
||||
- name: "Template the /opt/tsg/clixon/etc/mgnt-srv.conf"
|
||||
template:
|
||||
src: "{{ role_path }}/templates/mgnt-srv.conf.j2"
|
||||
dest: /opt/tsg/clixon/etc/mgnt-srv.conf
|
||||
tags: template
|
||||
- name: "change chart verison to /opt/tsg/clixon/etc/mgnt-srv.conf"
|
||||
shell: sed -i 's/chart_name=.*$/chart_name=traffic-engine-{{helm_chart_ver}}.tgz/g' /opt/tsg/clixon/etc/mgnt-srv.conf
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
[rpc]
|
||||
addr=127.0.0.1
|
||||
port=56789
|
||||
|
||||
[cpu_quotas]
|
||||
cpu_range=9
|
||||
|
||||
[global]
|
||||
chart_name=traffic-engine-{{helm_chart_ver}}.tgz
|
||||
|
||||
#chart verison example: traffic-engine-22.10.1+ba84cfe.tgz
|
||||
Reference in New Issue
Block a user