summaryrefslogtreecommitdiff
path: root/roles/monitoring/prometheus/exporter/coredns/tasks/main.yml
blob: 884eb4bf82bd70c6552ba79deb73e228a8dafbf4 (plain) (blame)
1
2
3
4
5
6
7
8
9
---
- name: register exporter
  copy:
    content: |
      location = /coredns {
          proxy_pass http://127.0.0.1:9153/metrics;
      }
    dest: /etc/prometheus/exporter/coredns.locations
  notify: reload nginx