Skip to content
Zabbix Server module for ansible
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
defaults major rewrite from template to regexp Apr 14, 2016
files zabbix server module for ansible Feb 7, 2014
handlers major rewrite from template to regexp Apr 14, 2016
meta
tasks major rewrite from template to regexp Apr 14, 2016
templates major rewrite from template to regexp Apr 14, 2016
vars selinux policy fixes May 22, 2014
LICENSE Initial commit Feb 7, 2014
README.md major rewrite from template to regexp Apr 14, 2016

README.md

Zabbix Server

This playbook will install the Zabbix Server

  1. Edit the zabbix-server.yml file and add replace host
  2. Add vars to your role to override the default vars
  3. Install with tags if u want to exclude apache, postgres or zabbix
  4. ansible-playbook zabbix-server.yml --tags "postgres,zabbix"
  5. Else just run ansible-playbook zabbix-server.yml

Version

12/11/2014 14/04/2016 Moved from template to regexp this makes this role version indepdent and future proof

Requirements

At this moment the script only works on Redhat/Centos 6.x or Redhat/Centos 7.x This script works with PostgreSQL and MySQL You still need ansible playbooks to install PostgreSQL or MySQL and Apache Mysql will create a Database Postgresql expects the Db to be there (todo)

Role Variables

All variables can be altered in the defaults directory.

  • httpd.yml
  • main.yml

Example Playbook

# file: localrepo.yml
- hosts: ZabbixServer
  user: someuser
  sudo: yes
  sudo_user: root
  roles:
    - Zabbix-Server

Dependencies

  • Database like mysql or postgresql needs to be installed seperate
  • Apache or another webserver needs to be installed seperate
  • For Postgresql you can make use of my Postgresql playbook
  • ansible-galaxy install patrik.uytterhoeven.PostgreSQL-For-RHEL6x

Todo

  1. add config for debian

License

GPL V2

Author Information

You can’t perform that action at this time.