1
0
Fork 0
mirror of https://gitlab.com/s3lph/ansible-collection-prometheus synced 2024-10-23 03:46:59 +02:00

dnsbl exporter: fix targets.ini

This commit is contained in:
s3lph 2020-11-22 02:13:07 +01:00
parent 86428966c1
commit 89614cdaa2

View file

@ -1,8 +1,8 @@
{{ ansible_managed | comment }} {{ ansible_managed | comment }}
[targets] [targets]
{%- for host in hostvars.keys() %} {% for host in hostvars.keys() %}
{%- if hostvars[host].monitor_dnsbl | default(true) %} {% if hostvars[host].monitor_dnsbl | default(false) %}
server={{ host }} server={{ host }}
{%- endif %} {% endif %}
{%- endfor %} {% endfor %}