bugfix:修复因rockylinux8系统下安装rpm导致gpg check error的错误

This commit is contained in:
fumingwei
2022-04-06 18:35:44 +08:00
parent 4dc77ffcca
commit 7de21e7494
3 changed files with 5 additions and 1 deletions

View File

@@ -7,7 +7,8 @@
- name: "Install freeipmi from local path"
yum:
name: "{{ freeipmi_rpm_fullname.files[0].path }}"
state: present
state: present
disable_gpg_check: yes
- name: "mkdir /opt/tsg/exporter/"
file:

View File

@@ -8,6 +8,7 @@
name:
- "/tmp/ansible_deploy/aksusbd-8.23-1.x86_64.rpm"
state: present
disable_gpg_check: yes
- name: "Get hasp_update rpm path"
find:
@@ -19,6 +20,7 @@
yum:
name: "{{ hasp_update_rpm_fullname.files[0].path }}"
state: present
disable_gpg_check: yes
- name: "Create /etc/tsg/licence/ directory if it does not exist"
file:

View File

@@ -8,6 +8,7 @@
name:
- /tmp/telegraf-1.13.0-1.x86_64.rpm
state: present
disable_gpg_check: yes
- name: "Templates telegraf.conf"
template: