summaryrefslogtreecommitdiff
path: root/roles/install_bind/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/install_bind/tasks')
-rw-r--r--roles/install_bind/tasks/main.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/roles/install_bind/tasks/main.yml b/roles/install_bind/tasks/main.yml
index a7391e5..a11d247 100644
--- a/roles/install_bind/tasks/main.yml
+++ b/roles/install_bind/tasks/main.yml
@@ -11,6 +11,16 @@
owner: named
group: named
+- name: create systemd-folder
+ file:
+ path: /etc/systemd/system/named.service.d
+ state: directory
+
+- name: bind ip override
+ template:
+ src: ipv6.conf.j2
+ dest: /etc/systemd/system/named.service.d/ipv6.conf
+
- name: bind config
template:
src: named.conf.j2