1 2 3
- targets: [ "{{ hostvars[target.instance].prometheus_scrape_endpoint }}" ] labels: instance: "{{ target.instance }}"