You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ffmyk-ansible/roles/install_bind/tasks/main.yml

29 lines
544 B
YAML

---
- 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