---
{% for host in groups['cdr_link'] %}
- targets:
- "{{ hostvars[host]['node_exporter_tailscale_ipv4'].stdout }}:9100"
labels:
instance: "{{ host }}"
hostname: "{{ host }}"
job: node
app: link
{% endfor %}