🐞 fix: 删除OS中clixon默认配置模板,只修改chart_name字段

This commit is contained in:
wangmenglan
2023-02-10 11:25:59 +08:00
committed by 付明卫
parent 317850b6f8
commit e61a12cdd9
2 changed files with 2 additions and 16 deletions

View File

@@ -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

View File

@@ -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