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.
19 lines
988 B
YAML
19 lines
988 B
YAML
5 years ago
|
---
|
||
|
|
||
|
# domain (of service running)
|
||
|
dns_zone_domain: "{{ lookup('pipe', global_public_key_directory|quote + '/dns_zone.py ' + domain|quote) }}" # domain of dns zone
|
||
|
dns_system_domain: "{{ lookup('file', global_dns_list_directory + '/' + dns_zone_domain) }}" # domain of dns authority server
|
||
|
service_system_domain: "{{ inventory_hostname }}" # domain of server running the service
|
||
|
|
||
5 years ago
|
domain_environment_directory: "{{ global_dns_zones_environment_directory }}/{{ dns_zone_domain }}" # SYNC role dns/master
|
||
5 years ago
|
domain_zone_file: "{{ domain_environment_directory }}/{{ domain }}.db"
|
||
|
|
||
|
all_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: ""
|