ansible/group_vars/all/prometheus_nginx_exporter.yaml

4 lines
133 B
YAML

---
glob_prometheus_nginx_exporter:
listen_addr: "{{ query('ldap', 'ip', ansible_hostname, 'adm') | ansible.utils.ipv4 | first }}"