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:
parent
86428966c1
commit
89614cdaa2
1 changed files with 4 additions and 4 deletions
|
@ -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 %}
|
Loading…
Reference in a new issue