Jérémy Lecour
8cbe837147
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
* queries log can be enabled or disabled * split tasks * check if AppArmor is present * don't install Munin plugin whose data file is not present * remove example ACL in authoritative configuration
20 lines
437 B
YAML
20 lines
437 B
YAML
---
|
|
|
|
|
|
- name: Set bind configuration for recursive server
|
|
template:
|
|
src: named.conf.options_recursive.j2
|
|
dest: /etc/bind/named.conf.options
|
|
owner: bind
|
|
group: bind
|
|
mode: "0644"
|
|
force: yes
|
|
notify: restart bind
|
|
|
|
- name: enable zones.rfc1918 for recursive server
|
|
lineinfile:
|
|
dest: /etc/bind/named.conf.local
|
|
line: 'include "/etc/bind/zones.rfc1918";'
|
|
regexp: "zones.rfc1918"
|
|
notify: restart bind
|