chusiang.zabbix-agent
Ansible Role: zabbix-agent
An Ansible role of deploy zabbix-agent in everway.
Requirements
None.
Role Variables
Available variables are listed below, along with default values (see defaults/main.yml):
zabbix_log_file: "/var/log/zabbix-agent/zabbix_agentd.log
zabbix_server: "localhost"
zabbix_server_active: "{{ zabbix_server }}"
zabbix_hostname: "zabbix-agent.local"
# for Active agent auto-registration.
zabbix_host_metadata: ""
# for CentOS.
zabbix_release_rpm: "http://repo.zabbix.com/zabbix/3.2/rhel/7/{{ ansible_architecture }}/zabbix-release-3.2-1.el7.noarch.rpm"
Dependencies
None.
Example Playbook
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers
roles:
- { role: chusiang.zabbix-agent }
License
Copyright (c) chusiang from 2016 under the MIT license.
Install
ansible-galaxy install chusiang.zabbix-agentLicense
mit
Downloads
116
Owner
A system engineer, like @DevOpsTW, @ansible-tw, @vim-tw, docker and @linux-taiwan. Hope one day can build a "🦄 Unicorn company" like《The Phoenix Project》.
