This playbook will install the Zabbix Server
- Edit the zabbix-server.yml file and add replace host
- Add vars to your role to override the default vars
- Install with tags if u want to exclude apache, postgres or zabbix
- ansible-playbook zabbix-server.yml --tags "postgres,zabbix"
- Else just run ansible-playbook zabbix-server.yml
12/11/2014 14/04/2016 Moved from template to regexp this makes this role version indepdent and future proof
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)
All variables can be altered in the defaults directory.
- httpd.yml
- main.yml
# file: localrepo.yml
- hosts: ZabbixServer
user: someuser
sudo: yes
sudo_user: root
roles:
- Zabbix-Server
- 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
- add config for debian
GPL V2
- Patrik Uytterhoeven
- patrik( at )open-future.be
- www.open-future.be