This is an automated email from the ASF dual-hosted git repository.
jhg03a pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git
The following commit(s) were added to refs/heads/master by this push:
new 2800790 Ansible roles: Make Edge and Mid profile start with EDGE and
MID for GET /caches/stats (#5774)
2800790 is described below
commit 28007905c9f657924039eb099f29f61e063e0b75
Author: Zach Hoffman <[email protected]>
AuthorDate: Wed Apr 21 13:47:53 2021 -0600
Ansible roles: Make Edge and Mid profile start with EDGE and MID for GET
/caches/stats (#5774)
---
infrastructure/ansible/roles/dataset_loader/defaults/main.yml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/infrastructure/ansible/roles/dataset_loader/defaults/main.yml
b/infrastructure/ansible/roles/dataset_loader/defaults/main.yml
index d03da49..14b46bf 100644
--- a/infrastructure/ansible/roles/dataset_loader/defaults/main.yml
+++ b/infrastructure/ansible/roles/dataset_loader/defaults/main.yml
@@ -280,8 +280,8 @@ dl_ds_default_divisions:
dl_ds_merged_profile_prefix_ansible_component_map: "{{
dl_ds_default_profile_prefix_ansible_component_map }}"
dl_ds_default_profile_prefix_ansible_component_map:
grove: GROVE_EDGE_
- atsec: ATS_EDGE_
- atsmid: ATS_MID_
+ atsec: EDGE_ATS_
+ atsmid: MID_ATS_
fakeorigin: MSO_
mso_parent_alias: MSO_
influxdb: INFLUXDB
@@ -1014,7 +1014,7 @@ dl_ds_default_profile_cdntemplates:
- name: health.polling.url
configFile: rascal.properties
value:
http://${hostname}/_astats?application=&inf.name=${interface_name}
- - name: "ATS_Edge_{{ Target_cdn_delegation }}"
+ - name: "{{ dl_ds_merged_profile_prefix_ansible_component_map.atsec }}{{
Target_cdn_delegation }}"
description: "Edge cache({{ Target_cdn_delegation }}) - ATS"
cdn: "{{ Target_cdn_delegation }}"
type: ATS_PROFILE
@@ -2400,7 +2400,7 @@ dl_ds_default_profile_cdntemplates:
- name: data
configFile: anymap_hdr_rw.config
value: cond %{SEND_REQUEST_HDR_HOOK} __RETURN__ add-header
FAKEORIGIN-ATS-ANYMAP-GLOBAL '%<cque>' __RETURN__ add-header
FAKEORIGIN-ATS-ANYMAP-ORIGINAL-REQUESTOR '%<chi>' __RETURN__ cond
%{SEND_RESPONSE_HDR_HOOK} __RETURN__ add-header ATS_ANYMAP_GLOBAL
'Anymap_Global_Match' [L]
- - name: "ATS_Mid_{{ Target_cdn_delegation }}"
+ - name: "{{ dl_ds_merged_profile_prefix_ansible_component_map.atsmid }}{{
Target_cdn_delegation }}"
description: "Mid cache({{ Target_cdn_delegation }}) - ATS"
cdn: "{{ Target_cdn_delegation }}"
type: ATS_PROFILE