templier-ansible/group_vars/all/prometheus_node_exporter.yaml

4 lines
118 B
YAML

---
glob_prometheus_node_exporter:
listen_addr: "{{ query('ldap', 'ip', ansible_hostname, 'adm') | ipv4 | first }}"