From: Oleg Broytman Date: Sun, 4 Aug 2019 09:46:14 +0000 (+0300) Subject: Feat(add-dns-domain): Prepend one empty line before the zone X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=0f0fbc121fe59bf0483c290d5c2c2dd13132eef1;p=ansible.git Feat(add-dns-domain): Prepend one empty line before the zone --- 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; };