dns/application: Moved var configuration_directory to global vars

dehydrated
Felix Stupp 5 years ago
parent eb632a8f2c
commit bf00dcb6dd
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -62,6 +62,8 @@ global_apparmor_profiles_directory: "/etc/apparmor.d"
global_apt_sources_directory: "/etc/apt/sources.list.d" global_apt_sources_directory: "/etc/apt/sources.list.d"
global_bind_configuration_directory: "/etc/bind"
global_ip_discover_url: "https://keys.banananet.work/ping" global_ip_discover_url: "https://keys.banananet.work/ping"
global_ip_discover_register_pass: "{{ lookup('password', 'credentials/ip_discover/register_pass chars=digits,ascii_letters length=256') }}" global_ip_discover_register_pass: "{{ lookup('password', 'credentials/ip_discover/register_pass chars=digits,ascii_letters length=256') }}"

@ -1,10 +1,9 @@
--- ---
dns_user: "bind" dns_user: "bind"
configuration_directory: "/etc/bind" options_configuration: "{{ global_bind_configuration_directory }}/named.conf.options"
options_configuration: "{{ configuration_directory }}/named.conf.options" zones_configuration: "{{ global_bind_configuration_directory }}/named.conf.local"
zones_configuration: "{{ configuration_directory }}/named.conf.local" zones_directory: "{{ global_bind_configuration_directory }}/zones"
zones_directory: "{{ configuration_directory }}/zones"
# zones_environment_directory from dns/handlers # zones_environment_directory from dns/handlers
zones_environment_link_name: "conf" zones_environment_link_name: "conf"

Loading…
Cancel
Save