From befbff3c7e918de2605cd9a2b8d58df8b5b84621 Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Tue, 16 Jul 2019 00:00:01 +0200 Subject: [PATCH] dns/master: Added prefix for paths to vars in default --- roles/dns/master/defaults/main.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/roles/dns/master/defaults/main.yml b/roles/dns/master/defaults/main.yml index 085efbc..10d6a92 100644 --- a/roles/dns/master/defaults/main.yml +++ b/roles/dns/master/defaults/main.yml @@ -2,8 +2,9 @@ domain: "example.com" -configuration_file: "{{ dns_zones_directory }}/{{ domain }}.conf" -database_file: "{{ dns_zones_directory }}/{{ domain }}.db" +domain_prefix: "{{ dns_zones_directory }}/{{ domain }}" +configuration_file: "{{ domain_prefix }}.conf" +database_file: "{{ domain_prefix }}.db" main_nameserver_domain: "ns1.{{ domain }}." responsible_mail_name: "admin.{{ domain }}."