|
|
|
@ -5,11 +5,9 @@ service_system_domain: "{{ inventory_hostname }}" # domain of server running the
|
|
|
|
|
|
|
|
|
|
entries: "{{ ip_entries + sshfp_entries + custom_entries }}"
|
|
|
|
|
ip_entries:
|
|
|
|
|
- domain: "{{ domain }}."
|
|
|
|
|
type: "A"
|
|
|
|
|
- type: "A"
|
|
|
|
|
data: "{{ hostvars[service_system_domain].ansible_default_ipv4.address }}"
|
|
|
|
|
- domain: "{{ domain }}."
|
|
|
|
|
type: "AAAA"
|
|
|
|
|
- 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 + ' --domain ' + domain|quote)).split('\n') }}"
|
|
|
|
|
sshfp_entries: "{{ (lookup('pipe', global_public_key_directory|quote + '/ssh_dns_fp.py --host ' + service_system_domain|quote)).split('\n') }}"
|
|
|
|
|
custom_entries: []
|
|
|
|
|