--- # domain (of service running) service_system_domain: "{{ inventory_hostname }}" # domain of server running the service entries: | {{ ip_entries }} {{ custom_entries }} ip_entries: | {{ domain }}. IN A {{ hostvars[service_system_domain].ansible_default_ipv4.address }} {{ domain }}. IN AAAA {{ hostvars[service_system_domain].ansible_default_ipv6.address }} {{ lookup('pipe', global_public_key_directory|quote + '/ssh_dns_fp.py --host ' + service_system_domain|quote + ' --domain ' + domain|quote) }} custom_entries: ""