You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
550 B
YAML

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