1
0
Fork 0
mirror of https://gitlab.com/s3lph/ansible-collection-prometheus synced 2024-11-22 09:41:01 +01: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 %}