dns: Fixed variable structure of var domain_environment_directory

dehydrated
Felix Stupp 5 years ago
parent be8418d546
commit 77d1e84117
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -6,7 +6,6 @@ dns_system_domain: "{{ lookup('file', global_dns_list_directory + '/' + dns_zone
entries_name: "{{ domain }}" # Name for zone part file 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" domain_zone_file: "{{ domain_environment_directory }}/{{ entries_name }}.db"
# entries (in bind zone file format) # entries (in bind zone file format)

@ -0,0 +1,3 @@
---
domain_environment_directory: "{{ global_dns_zones_environment_directory }}/{{ dns_zone_domain }}" # Given by dns/master

@ -6,7 +6,6 @@ domain_directory: "{{ zones_directory }}/{{ domain }}"
configuration_file: "{{ domain_directory }}/zone.conf" configuration_file: "{{ domain_directory }}/zone.conf"
database_file: "{{ domain_directory }}/{{ zones_environment_database_name }}" database_file: "{{ domain_directory }}/{{ zones_environment_database_name }}"
keys_directory: "{{ domain_directory }}/keys" keys_directory: "{{ domain_directory }}/keys"
domain_environment_directory: "{{ global_dns_zones_environment_directory }}/{{ domain }}" # SYNC role dns/entries
dns_list_file: "{{ global_dns_list_directory }}/{{ domain }}" dns_list_file: "{{ global_dns_list_directory }}/{{ domain }}"

@ -0,0 +1,3 @@
---
domain_environment_directory: "{{ global_dns_zones_environment_directory }}/{{ domain }}" # Fixed for usage in other roles
Loading…
Cancel
Save