ansible/group_vars/postfix.yml

4 lines
135 B
YAML

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