|
|
|
@ -5,7 +5,7 @@ |
|
|
|
|
yum: name="https://repo.zabbix.com/zabbix/{{ zabbixServerLevel }}/rhel/7/x86_64/zabbix-release-{{ zabbixServerLevel }}-1.el7.noarch.rpm" state=present |
|
|
|
|
|
|
|
|
|
- name: install {{ ansible_eth0['ipv4']['address'] }} zabbix-agent package |
|
|
|
|
yum: name=zabbix-agent,zabbix-sender state=present |
|
|
|
|
yum: name=zabbix-agent,zabbix-sender,net-tools,bc state=present |
|
|
|
|
|
|
|
|
|
- name: copy zabbix-agent {{ zabbixServerLevel }} config file |
|
|
|
|
template: src=zabbix_agent.conf.j2 dest=/etc/zabbix/zabbix_agentd.conf backup=yes |
|
|
|
|