This role is used to configure the icinga2 client and request certificates from the icinga2 master.
# The icinga2 parent hosts. Only 2 allowed.
# https://github.com/Icinga/icinga2/issues/3533
icinga2_client_monitoring_parents:
- monitoring-master1.example.com
- monitoring-master2.example.com
# The default icinga2 parent zone
icinga2_client_parent_zone: "monitoring-master"
# The API url of the icinga2 master. Defaults to the first parent
icinga2_client_api_url: "https://{{ icinga2_client_monitoring_parents[0] }}:5665"
# The API user of the icinga2 master
# The user needs at least permissions to create ticket tokens.
icinga2_client_api_user: "root"
# The API password of the icinga2 master
icinga2_client_api_pass: "passw0rd"
This role depends on the role adfinis-sygroup.icinga2_agent, which installs the icinga2 binary.
- hosts: servers
roles:
- { role: adfinis-sygroup.icinga2_agent }
- { role: adfinis-sygroup.icinga2_client }
icinga2_client role was written by: