aboutsummaryrefslogtreecommitdiff
path: root/roles/icinga2/defaults/main.yml
blob: d4fe89f6ff9bc391b51c26e875612ff651dfd85a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
---
icinga_ido_db_pw: 'changeme'
icinga_web_db_pw: 'changeme'


icinga:
  # icingaweb2 api user is created automatically with random password
  api_users:
    - name: 'test'
      password: 'changeme'
      permissions: '[ ]'
  # CN MUST match FQDN
  api_cert:
    crt: '/etc/ssl/cert/ssl-cert-snakeoil.pem'
    key: '/etc/ssl/private/ssl-cert-snakeoil.key'
    ca: '/etc/ssl/certs/ca-certificates.crt'
  config:
    manage: false
    git_url: ''
    git_version: 'mainu'
  mail:
    enable: false
    smtp_host: 'smtp.example.com'
    smtp_port: '25'
    smtp_user: ''
    smtp_psw: ''
    from: ''
  influx:
    enable: false
    host: 'localhost'
    port: 8086
    ssl: true
    database: 'icinga'
    username: 'icinga'
    password: ''
  constants:
    TicketSalt: ''
    NodeName: '{{ ansible_facts.fqdn }}'
    ZoneName: '{{ ansible_facts.fqdn }}'
    PluginDir: '/usr/lib/nagios/plugins'
    ManubulonPluginDir: '/usr/lib/nagios/plugins'
    PluginContribDir: '/usr/lib/nagios/plugins'

icingaweb:
  cert:
    cert: '/etc/ssl/cert/ssl-cert-snakeoil.pem'
    key: '/etc/ssl/private/ssl-cert-snakeoil.key'
  ldap:
    use_ldap: false
    host: 'localhost'
    port: '389'
    # none / starttsl / ssl?
    encryption: 'none'
    root_dn: ''
    bind_dn: ''
    bind_pw: ''
    user_class: 'inetOrgPerson'
    user_name_attribute: 'uid'
    filter: ''
    groups:
      base_dn: ''
      group_member_attribute: 'member'
      group_name_attribute: 'cn'
      group_class: 'groupOfNames'
      group_filter: 'cn=*'
      user_base_dn: ''
      user_class: 'inetOrgPerson'
      user_name_attribute: 'uid'
  roles:
    - name: Administrators
      users: 'admin'
      permissions: '*'
      groups: 'Administrators'
  enabled_modules:
    - monitoring
    - businessprocess
  install_modules:
    businessprocess:
      url: 'https://github.com/Icinga/icingaweb2-module-businessprocess'
      version: 'master'