cleaned up scraper config

This commit is contained in:
nd 2020-05-22 18:54:04 +02:00
parent e42f1f6b9a
commit c009ac013b
No known key found for this signature in database
GPG key ID: 21B5CD4DEE3670E9
2 changed files with 17 additions and 17 deletions

View file

@ -70,4 +70,4 @@
delegate_to: "{{ item }}" delegate_to: "{{ item }}"
template: template:
src: node-scraper.j2 src: node-scraper.j2
dest: /etc/prometheus/conf.d/scrape_configs/{{ inventory_hostname }}.conf dest: /etc/prometheus/conf.d/scrape_configs/agent_{{ inventory_hostname }}.conf