- targets: [ '{{ hostvars[target.instance].prometheus_scrape_endpoint }}' ] labels: instance: '{{ target.instance }}'