[prometheus] Define Prometheus Nginx exporter address globally to make easier the separation saclay/cachan
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>certbot_on_virtu
parent
65f01fa420
commit
e6b77a65e2
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
glob_prometheus_nginx_exporter:
|
||||
listen_addr: "{{ query('ldap', 'ip', ansible_hostname, 'adm') | ipv4 | first }}"
|
|
@ -1,3 +1,3 @@
|
|||
---
|
||||
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 }}"
|
||||
|
|
Loading…
Reference in New Issue