Disable the signature check of the zabbix repo. #13
|
@ -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' ]
|
||||||
|
|
Loading…
Reference in New Issue