bugfix:修改maat_redis_tools在tsg-x(p0906)环境下不可用的bug

This commit is contained in:
fumingwei
2022-10-11 16:55:20 +08:00
committed by 付明卫
parent 8cdc7f4862
commit 8d20ac5b79
2 changed files with 16 additions and 5 deletions

View File

@@ -55,6 +55,9 @@ framework_rpm_version:
15_libMESA_jump_layer: libMESA_jump_layer-1.0.10.6fb4738
16_libmaatframe: libmaatframe-3.6.14.f88f730
maat_redis_tool_version:
libmaatframe-tools: libmaatframe-tools-3.6.15.bf7ef3e
kni_rpm_version:
kni: kni-5.0.2.6cb27c3

View File

@@ -34,11 +34,19 @@
src: "{{ role_path }}/files/framework.conf"
dest: /etc/ld.so.conf.d/
- name: "copy maat_redis_tool to destination"
copy:
src: "{{ role_path }}/files/maat_redis_tool"
dest: /opt/tsg/framework/bin/
mode: 0755
- name: "download rpm packages: maat-redis-tool"
yum:
name: "{{ item.1 }}"
state: present
conf_file: "{{ rpm_repo_config_path }}"
download_only: yes
download_dir: "{{ path_download }}"
loop: "{{ maat_redis_tool_version | dictsort }}"
- name: "Install maat-redis-tool"
shell: rpm -i /tmp/rpm_download/{{ item.1 }}* --prefix {{ prefix_path.framework }} --nodeps
loop: "{{ maat_redis_tool_version | dictsort }}"
- name: "copy framework.sh to destination for execute files of framework"
copy: