Disable the signature check of the zabbix repo. #13

Merged
adellam merged 1 commits from adellam/ansible-role-zabbix-agent:master into master 2021-12-03 13:38:03 +01:00
1 changed files with 7 additions and 2 deletions
Showing only changes of commit 51cd94ae23 - Show all commits

View File

@ -2,10 +2,15 @@
- name: Repository and packages, RH/CentOS
block:
- 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"
- name: Install the Zabbix agent package
yum: name={{ zabbix_agent_packages }} state=latest
yum:
name: '{{ zabbix_agent_packages }}'
state: latest
tags: [ 'zabbix', 'zabbix_agent' ]