blob: e72847a594685b7d791214a6729c8cac8a9f03da (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
/**
* vi: ft=icinga2
* This File is managed by Ansible. Do NOT change.
*/
object ApiUser "icingaweb2" {
password = "{{ icingaweb_api_password.content | b64decode }}"
permissions = [ "status/query", "actions/*", "objects/modify/*", "objects/query/*" ]
}
{% for user in icinga.api_users %}
object ApiUser "{{ user.name }}" {
password = "{{ user.password }}"
permissions = {{ user.permissions }}
}
{% endfor %}
|