ansible-collection-apps/playbooks/templates/link_sd.yml

11 lines
230 B
YAML
Raw Normal View History

---
{% for host in groups['cdr_link'] %}
2026-05-30 13:32:04 +01:00
- targets:
- "{{ hostvars[host]['node_exporter_tailscale_ipv4'].stdout }}:9100"
labels:
2026-05-30 13:32:04 +01:00
instance: "{{ host }}"
hostname: "{{ host }}"
job: node
app: link
2026-05-30 13:32:04 +01:00
{% endfor %}