将hasp_update更改为hasp-tools; TSG-15458 基于Sentinel LDK的C API检查软锁/硬锁的授权是否有效

This commit is contained in:
luwenpeng
2023-06-12 14:33:50 +08:00
parent 273173cda3
commit 226db1891f
4 changed files with 13 additions and 13 deletions

View File

@@ -94,8 +94,8 @@ wire_graft_rpm_version:
wire_graft: wire_graft_plug-1.5.10.60fa715
libwire_graft: libwire_graft-1.5.10.60fa715
hasp_update_rpm_version:
hasp_update: hasp_update-1.0.1.b836a3b
hasp_tools_rpm_version:
hasp_tools: hasp-tools-1.0.2.61233aa
tsg_os_clixon_rpm_version:
cligen: cligen-5.8.0-release

View File

@@ -3,10 +3,10 @@
src: '{{ role_path }}/files/aksusbd-8.23-1.x86_64.rpm'
dest: /tmp/ansible_deploy/
- name: "download rpm packages: hasp_update"
- name: "download rpm packages: hasp_tools"
yum:
name:
- "{{ hasp_update_rpm_version.hasp_update }}"
- "{{ hasp_tools_rpm_version.hasp_tools }}"
conf_file: "{{ rpm_repo_config_path }}"
state: present
download_only: yes
@@ -19,15 +19,15 @@
state: present
disable_gpg_check: yes
- name: "Get hasp_update rpm path"
- name: "Get hasp_tools rpm path"
find:
path: /tmp/rpm_download/
pattern: "{{ hasp_update_rpm_version.hasp_update }}*"
register: hasp_update_rpm_fullname
pattern: "{{ hasp_tools_rpm_version.hasp_tools }}*"
register: hasp_tools_rpm_fullname
- name: "Install hasp_update from local path"
- name: "Install hasp_tools from local path"
yum:
name: "{{ hasp_update_rpm_fullname.files[0].path }}"
name: "{{ hasp_tools_rpm_fullname.files[0].path }}"
state: present
disable_gpg_check: yes

View File

@@ -142,10 +142,10 @@
download_only: yes
download_dir: "{{ path_download }}"
- name: "download rpm packages: hasp_update"
- name: "download rpm packages: hasp_tools"
yum:
name:
- "{{ hasp_update_rpm_version.hasp_update }}"
- "{{ hasp_tools_rpm_version.hasp_tools }}"
conf_file: "{{ rpm_repo_config_path }}"
state: present
download_only: yes

View File

@@ -77,8 +77,8 @@
state: absent
with_dict: "{{ wire_graft_rpm_version }}"
- name: "uninstall hasp_update"
- name: "uninstall hasp_tools"
yum:
name: "{{ item.key }}"
state: absent
with_dict: "{{ hasp_update_rpm_version }}"
with_dict: "{{ hasp_tools_rpm_version }}"