From 9256e4be5c2388deaa4e7e0bec24b8ade5115ba3 Mon Sep 17 00:00:00 2001 From: fumingwei Date: Tue, 22 Jun 2021 15:21:09 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=E5=B0=86pangu=5Fpxy=E6=9B=B4=E5=90=8D?= =?UTF-8?q?=E4=B8=BAcache?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ansible/roles/tfe/templates/pangu_pxy.conf.j2.j2 | 4 ++-- .../files/tsg-os-provision/provision.yml.sample | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ansible/roles/tfe/templates/pangu_pxy.conf.j2.j2 b/ansible/roles/tfe/templates/pangu_pxy.conf.j2.j2 index 661ff578..4ae957d4 100644 --- a/ansible/roles/tfe/templates/pangu_pxy.conf.j2.j2 +++ b/ansible/roles/tfe/templates/pangu_pxy.conf.j2.j2 @@ -8,8 +8,8 @@ entrance_id=0 #Addresses of hos, Bucket name in hos. Format is defined by WiredLB. {% raw %} -cache_ip_list = {{ pangu_pxy.log_cache.address }} -cache_listen_port = {{ pangu_pxy.log_cache.port }} +cache_ip_list = {{ cache.hos.ip }} +cache_listen_port = {{ cache.hos.port }} {% endraw %} cache_bucket_name=hos/proxy_hos_bucket cache_token=c21f969b5f03d33d43e04f8f136e7682 diff --git a/ansible/roles/tsg-os-provision/files/tsg-os-provision/provision.yml.sample b/ansible/roles/tsg-os-provision/files/tsg-os-provision/provision.yml.sample index 7799bbaa..37d6f4c3 100644 --- a/ansible/roles/tsg-os-provision/files/tsg-os-provision/provision.yml.sample +++ b/ansible/roles/tsg-os-provision/files/tsg-os-provision/provision.yml.sample @@ -30,12 +30,12 @@ APP_SKETCH: ip: "127.0.0.1" port: 1883 - -pangu_pxy: - log_cache: - address: "10.9.62.253" +cache: + hos: + ip: "127.0.0.1" port: 9090 + tsg_sn: "CBT2201925000002" # NPB_device value in [inline_device, tera,direct]