To be reviewed
This playbook will install the Zabbix Server
- Edit the zabbix-server.yml file and add replace host
- Edit files in directory defaults and change variables to your needs
- Install with tags if u want to exclude apache, postgres or zabbix
- ansible-playbook zabbix-server.yml --tags "postgres,http,zabbix"
- Else just run ansible-playbook zabbix-server.yml
11/08/2015
To be reviewed
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)
To be reviewed
All variables can be altered in the defaults directory.
- httpd.yml
- main.yml
- postgresql.yml
- zabbix.yml
# file: localrepo.yml
- hosts: ZabbixServer
user: someuser
sudo: yes
sudo_user: root
roles:
- Zabbix-Server
To be reviewed
- 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