Disable the signature check of the zabbix repo.

This commit is contained in:
Andrea Dell'Amico 2021-12-03 13:37:30 +01:00
parent e1cc1577f5
commit 51cd94ae23
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 7 additions and 2 deletions

View File

@ -2,10 +2,15 @@
- name: Repository and packages, RH/CentOS - name: Repository and packages, RH/CentOS
block: block:
- name: Install the repository - name: Install the repository
yum: name={{ zabbix_agent_centos_repo }} state=present yum:
name: '{{ zabbix_agent_centos_repo }}'
state: present
disable_gpg_check: True
when: "'zabbix-release' not in ansible_facts.packages" when: "'zabbix-release' not in ansible_facts.packages"
- name: Install the Zabbix agent package - name: Install the Zabbix agent package
yum: name={{ zabbix_agent_packages }} state=latest yum:
name: '{{ zabbix_agent_packages }}'
state: latest
tags: [ 'zabbix', 'zabbix_agent' ] tags: [ 'zabbix', 'zabbix_agent' ]