summaryrefslogtreecommitdiff
path: root/roles/monitoring/prometheus/exporter/base/defaults/main.yml
blob: f6c8567f5aed72bf6da14f421f6e91c34902f929 (plain) (blame)
1
2
3
4
5
6
7
---
#prometheus_exporter_listen_addr:
prometheus_exporter_listen_port: 9999

prometheus_exporter_certificate_san:
  - "DNS:{{ host_name }}.{{ host_domain }}"
  - "IP:{{ (inventory_hostname == prometheus_server) | ternary('127.0.0.1', (prometheus_exporter_listen_addr | default(ansible_default_ipv4.address))) }}"