summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluwenpeng <[email protected]>2020-10-29 13:27:14 +0800
committerluwenpeng <[email protected]>2020-10-29 13:27:14 +0800
commitb552f77aea7b1436c767ae84ec15d23168d309fe (patch)
tree94b8a31456cca2dba8d3f54b315c82cbf9bfc072
parent8beaf161340d4fe4ace9ddd6ba4939e35bbe7817 (diff)
升级 tfe 到 4.3.16tfe-4.3.16
-rw-r--r--roles/tfe/files/tfe-4.3.14.13d2607-1.el7.x86_64.rpmbin3582588 -> 0 bytes
-rw-r--r--roles/tfe/files/tfe-4.3.16.b1c3ba7-1.el7.x86_64.rpmbin0 -> 3498152 bytes
-rw-r--r--roles/tfe/tasks/main.yml2
-rw-r--r--roles/tfe/templates/tfe.conf.j21
4 files changed, 2 insertions, 1 deletions
diff --git a/roles/tfe/files/tfe-4.3.14.13d2607-1.el7.x86_64.rpm b/roles/tfe/files/tfe-4.3.14.13d2607-1.el7.x86_64.rpm
deleted file mode 100644
index f2755aa..0000000
--- a/roles/tfe/files/tfe-4.3.14.13d2607-1.el7.x86_64.rpm
+++ /dev/null
Binary files differ
diff --git a/roles/tfe/files/tfe-4.3.16.b1c3ba7-1.el7.x86_64.rpm b/roles/tfe/files/tfe-4.3.16.b1c3ba7-1.el7.x86_64.rpm
new file mode 100644
index 0000000..38fe1a2
--- /dev/null
+++ b/roles/tfe/files/tfe-4.3.16.b1c3ba7-1.el7.x86_64.rpm
Binary files differ
diff --git a/roles/tfe/tasks/main.yml b/roles/tfe/tasks/main.yml
index 8039332..7842372 100644
--- a/roles/tfe/tasks/main.yml
+++ b/roles/tfe/tasks/main.yml
@@ -14,7 +14,7 @@
yum:
name:
- /tmp/ansible_deploy/tfe-kmod-v1.0.5.20200408-1dkms.noarch.rpm
- - /tmp/ansible_deploy/tfe-4.3.14.13d2607-1.el7.x86_64.rpm
+ - /tmp/ansible_deploy/tfe-4.3.16.b1c3ba7-1.el7.x86_64.rpm
state: present
- name: "template tfe-env config"
diff --git a/roles/tfe/templates/tfe.conf.j2 b/roles/tfe/templates/tfe.conf.j2
index fefbe73..901e282 100644
--- a/roles/tfe/templates/tfe.conf.j2
+++ b/roles/tfe/templates/tfe.conf.j2
@@ -166,6 +166,7 @@ stat_switch=1
perf_switch=1
table_info=resource/pangu/table_info.conf
accept_path=/opt/tsg/etc/tsg_device_tag.json
+accept_tag_key=data_center
stat_file=log/pangu_scan.fs2
effect_interval_s=1
deferred_load_on=0