Skip to content

Instantly share code, notes, and snippets.

---
- hosts:
YOUR.SERVER.HOSTNAME
tasks:
- name: add new zabbix 3.0 repository for cent7
shell: "rpm -ivh http://repo.zabbix.com/zabbix/3.0/rhel/7/x86_64/zabbix-release-3.0-1.el7.noarch.rpm"
when: ansible_distribution == 'CentOS' and ansible_distribution_major_version == "7"
- name: add new zabbix 3.0 repository for cent6 shell: "rpm -ivh http://repo.zabbix.com/zabbix/3.0/rhel/6/x86_64/zabbix-release-3.0-1.el6.noarch.rpm"
when: ansible_distribution == 'CentOS' and ansible_distribution_major_version == "6"
- name: install zabbix-agent 3.0 yum:

Keybase proof

I hereby claim:

  • I am elcomtik on github.
  • I am elcomtik (https://keybase.io/elcomtik) on keybase.
  • I have a public key ASApVUAfa6WPMcY1bDcBL9v8Wgy-aGZRLWYrAgZVTbw5Jwo

To claim this, I am signing this object: ```json { "body": { "key": {