add barebones knot config
This configuration does not yet do much but it provisions a knot server that runs.
This commit is contained in:
parent
d9fc1ef401
commit
facd770f10
8 changed files with 110 additions and 0 deletions
6
roles/auth-dns/tasks/01-install.yaml
Normal file
6
roles/auth-dns/tasks/01-install.yaml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
- tags: [ auth-dns ]
|
||||
name: Install knot
|
||||
become: true
|
||||
package:
|
||||
name: [ knot, knot-exporter ]
|
||||
|
||||
11
roles/auth-dns/tasks/02-configure.yaml
Normal file
11
roles/auth-dns/tasks/02-configure.yaml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
- tags: [ auth-dns ]
|
||||
name: Deploy knot configuration file
|
||||
become: true
|
||||
notify: restart knot
|
||||
template:
|
||||
src: knot.conf.j2
|
||||
dest: /etc/knot/knot.conf
|
||||
owner: knot
|
||||
group: knot
|
||||
mode: u=rw,g=r,o=
|
||||
|
||||
2
roles/auth-dns/tasks/main.yaml
Normal file
2
roles/auth-dns/tasks/main.yaml
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
- import_tasks: 01-install.yaml
|
||||
- import_tasks: 02-configure.yaml
|
||||
Loading…
Add table
Add a link
Reference in a new issue