ansible/group_vars/ethercalc.yml

3 lines
90 B
YAML

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