50 lines
953 B
YAML
50 lines
953 B
YAML
---
|
|
|
|
icinga2_features:
|
|
- name: api
|
|
ca_host: none
|
|
endpoints:
|
|
- name: "{{ ansible_fqdn }}"
|
|
zones:
|
|
- name: "master"
|
|
endpoints:
|
|
- "{{ ansible_fqdn }}"
|
|
- name: "global"
|
|
global: true
|
|
- name: checker
|
|
state: present
|
|
- name: icingadb
|
|
state: present
|
|
host: 127.0.0.1
|
|
port: 6380
|
|
- name: mainlog
|
|
severity: information
|
|
|
|
icinga2_objects:
|
|
icinga-test.devnet.local:
|
|
- name: root
|
|
type: ApiUser
|
|
password: rootpw
|
|
file: local.d/apiuser.conf
|
|
permissions:
|
|
- "*"
|
|
- name: icingaweb
|
|
type: ApiUser
|
|
password: icingaweb
|
|
file: local.d/apiuser.conf
|
|
permissions:
|
|
- "*"
|
|
|
|
icinga2_confd: local.d
|
|
icinga2_config_directories:
|
|
- local.d/
|
|
- zones.d/global/
|
|
- zones.d/global/git
|
|
- zones.d/global/static
|
|
- zones.d/master/
|
|
- zones.d/master/git
|
|
- zones.d/master/static
|
|
|
|
icinga_monitoring_plugins_check_commands:
|
|
- "all"
|