Add Wireguard playbook and first commit
This commit is contained in:
20
roles/homelab/wireguard/tasks/configure_bind9.yml
Normal file
20
roles/homelab/wireguard/tasks/configure_bind9.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
---
|
||||
|
||||
- name: "Import named.conf.local"
|
||||
tags: bind9
|
||||
ansible.builtin.template:
|
||||
src: named.conf.local.j2
|
||||
dest: /etc/bind/named.conf.local
|
||||
owner: root
|
||||
group: bind
|
||||
mode: '0644'
|
||||
|
||||
- name: "Import data base domain serti.fun"
|
||||
tags: bind9
|
||||
ansible.builtin.template:
|
||||
src: db.serti.fun.j2
|
||||
dest: /etc/bind/db.serti.fun
|
||||
owner: root
|
||||
group: bind
|
||||
mode: '0644'
|
||||
notify: "restart named"
|
||||
Reference in New Issue
Block a user