This provides a quick way to configure a server to act as an icinga master
This uses ansible to manipulate remote servers via SSH - essentially automating what you'd otherwise do "by hand" in a step-by-step approach. You need to be in possession of an SSH private key for which there is a associated user that is authorized to perform the operations.
Set users, channels, and webhook URLs in infrastructure/files/conf.d/users.conf
# assuming your shell is inside this folder (infrastructure)
ansible-playbook -b -i servers.ini master.yml