blob: a11d24747952bd2b4f77fb5efc642e1b689bc536 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
---
- name: install bind
pacman:
name: bind
state: present
- name: create named zone backup folder
file:
path: /var/named/bak
state: directory
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
dest: /etc/named.conf
notify: reload bind
|