2018-02-08 17:28:49 +01:00
|
|
|
# {{ ansible_managed }}
|
2020-10-28 11:08:02 +01:00
|
|
|
## From ipr-cnrs.xymon role
|
2018-02-08 17:28:49 +01:00
|
|
|
{% set inputmerged = xymon_plug_libs_default_whitelist.copy() %}
|
2018-06-22 15:26:36 +02:00
|
|
|
{% set _ = inputmerged.update(xymon_plug_libs_whitelist) %}
|
2018-02-08 17:28:49 +01:00
|
|
|
{% set _ = inputmerged.update(xymon_plug_libs_group_whitelist) %}
|
|
|
|
{% set _ = inputmerged.update(xymon_plug_libs_host_whitelist) %}
|
|
|
|
---
|
|
|
|
whitelist:
|
|
|
|
{% for group, rules in inputmerged|dictsort %}
|
|
|
|
{{ group }}:
|
|
|
|
{% if not rules %}
|
|
|
|
# (none)
|
|
|
|
{% endif %}
|
|
|
|
{% for rule in rules %}
|
|
|
|
- '{{ rule }}'
|
|
|
|
{% endfor %}
|
|
|
|
{% endfor %}
|