|Max Mehl 0367d75ab8||11 hours ago|
|.reuse||10 months ago|
|LICENSES||10 months ago|
|conf.d||11 hours ago|
|inventory@ca630490af||11 hours ago|
|roles||10 months ago|
|scripts||3 months ago|
|templates||10 months ago|
|user_plugins_clients||2 months ago|
|user_plugins_server||3 months ago|
|.ansible-lint||1 month ago|
|.drone.yml||10 months ago|
|.gitignore||10 months ago|
|.gitmodules||2 weeks ago|
|README.md||11 hours ago|
|id_rsa.pub||10 months ago|
|id_rsa.pub.license||10 months ago|
|playbook.yml||11 hours ago|
The goal is to deploy incinga 2 and its configuration
Note: As of now the ansible playbook does not handle the configuration of the web interface itself, it's not currently supported by the official ansible role.
Note: Please make sure you have ssh access to the servers listed in the
Clone this repo:
git clone --recurse-submodules firstname.lastname@example.org:fsfe-system-hackers/fsfe-backup.git
Update the inventory submodule to reflect the newest changes to the list of our hosts and the groups that they are in:
git submodule update --remote inventory
Run the command:
ansible-playbook playbook.yml \ -i inventory/hosts \ -l "icinga2_server,icinga2_clients"
Configure only the server:
ansible-playbook playbook.yml \ -i inventory/hosts \ -l "icinga2_server"
Only deploy a changed config to the server:
ansible-playbook playbook.yml \ -i inventory/hosts \ -l "icinga2_server" \ -t conf
Configure only the clients:
ansible-playbook playbook.yml \ -i inventory/hosts \ -l "icinga2_clients"
Roll out configuration about new client(s), and configure client(s) and server:
ansible-playbook playbook.yml \ -i inventory/hosts \ -l "<hostname_of_new_client>,icinga2_server" \ -t newclient
Note: You have to manually add sensitive files which are not in this repo but only on the host:
templates/ directory contains the apache virtual hosts configuration. The
roles/ folder contains the upstream code for icinga2 installation. The
conf.d/ folder contains the icinga2 configuration itself.
The address of the icinga 2 server and the clients are configured in the