mirror of
https://gitlab.com/s3lph/ansible-collection-prometheus
synced 2024-12-22 08:17:33 +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 }}
|
||||
|
||||
[targets]
|
||||
{%- for host in hostvars.keys() %}
|
||||
{%- if hostvars[host].monitor_dnsbl | default(true) %}
|
||||
{% for host in hostvars.keys() %}
|
||||
{% if hostvars[host].monitor_dnsbl | default(false) %}
|
||||
server={{ host }}
|
||||
{%- endif %}
|
||||
{%- endfor %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
Loading…
Reference in a new issue