dns: Extracted role entries from server_entries
parent
39771c907f
commit
55b27c041b
@ -0,0 +1,12 @@
|
||||
---
|
||||
|
||||
# domain (of service running, can be replaced by dns_zone_name and entries_name)
|
||||
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
|
||||
|
||||
entries_name: "{{ domain }}" # Name for zone part file
|
||||
|
||||
domain_environment_directory: "{{ global_dns_zones_environment_directory }}/{{ dns_zone_domain }}" # SYNC role dns/master
|
||||
domain_zone_file: "{{ domain_environment_directory }}/{{ entries_name }}.db"
|
||||
|
||||
# entries (in bind zone file format)
|
@ -0,0 +1,3 @@
|
||||
---
|
||||
|
||||
allow_duplicates: yes
|
@ -1,3 +1,8 @@
|
||||
---
|
||||
|
||||
allow_duplicates: yes
|
||||
|
||||
dependencies:
|
||||
- role: dns/entries
|
||||
# domain
|
||||
# entries
|
||||
|
Loading…
Reference in New Issue