From 0f0fbc121fe59bf0483c290d5c2c2dd13132eef1 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 4 Aug 2019 12:46:14 +0300 Subject: [PATCH] Feat(add-dns-domain): Prepend one empty line before the zone --- playbooks/debian/roles/add-dns-domain/tasks/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/playbooks/debian/roles/add-dns-domain/tasks/main.yml b/playbooks/debian/roles/add-dns-domain/tasks/main.yml index 235bade..e61fd3d 100644 --- a/playbooks/debian/roles/add-dns-domain/tasks/main.yml +++ b/playbooks/debian/roles/add-dns-domain/tasks/main.yml @@ -18,7 +18,8 @@ - name: Update config become: true shell: | - echo 'zone "{{ domain }}" { + echo ' + zone "{{ domain }}" { type master; file "/etc/bind/{{ domain }}"; allow-query { any; }; -- 2.39.5