--- loc_ldap: servers: - "{{ query('ldap', 'ip', 'thot', 'adm') | ansible.utils.ipv4 | first }}"