Skip to content
Branch: master
Go to file
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

Zabbix Server module for ansible

Resources

License

Releases

No releases published
You can’t perform that action at this time.