Skip to content
Snippets Groups Projects
Verified Commit e6b77a65 authored by ynerant's avatar ynerant
Browse files

[prometheus] Define Prometheus Nginx exporter address globally to make easier...

[prometheus] Define Prometheus Nginx exporter address globally to make easier the separation saclay/cachan

Signed-off-by: ynerant's avatarYohann D'ANELLO <ynerant@crans.org>
parent 65f01fa4
No related branches found
No related tags found
1 merge request!272Stabilize Ansible
---
glob_prometheus_nginx_exporter:
listen_addr: "{{ query('ldap', 'ip', ansible_hostname, 'adm') | ipv4 | first }}"
---
loc_prometheus_nginx_exporter:
glob_prometheus_nginx_exporter:
listen_addr: "{{ query('ldap', 'ip', ansible_hostname, 'cachan-adm') | ipv4 | first }}"
......@@ -30,6 +30,3 @@ glob_nginx:
- "172.16.0.0/16"
- "fd00::/56"
deploy_robots_file: false
glob_prometheus_nginx_exporter:
listen_addr: "{{ query('ldap', 'ip', ansible_hostname, 'adm') | ipv4 | first }}"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment