修改安装包

master
root 3 years ago
parent 529c63daa2
commit d4adc03297
  1. 2
      zabbix-ansible/zabbix-agentd/tasks/main.yml

@ -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

Loading…
Cancel
Save