Compare commits
2 commits
70a4d4a0e4
...
62e24a1659
| Author | SHA1 | Date | |
|---|---|---|---|
|
62e24a1659 |
|||
|
2abdbe376c |
8 changed files with 12 additions and 37 deletions
|
|
@ -1,2 +1,8 @@
|
|||
---
|
||||
deploy_systemd_resolved_config__enable: false
|
||||
|
||||
docker_compose__compose_file_content: "{{ lookup('ansible.builtin.template', 'resources/chaosknoten/auth-dns/docker_compose/compose.yaml.j2') }}"
|
||||
|
||||
docker_compose__configuration_files:
|
||||
- name: "knot.conf"
|
||||
content: "{{ lookup('ansible.builtin.template', 'resources/chaosknoten/auth-dns/docker_compose/knot.conf.j2') }}"
|
||||
|
|
|
|||
|
|
@ -155,6 +155,7 @@ docker_compose_hosts:
|
|||
sunders:
|
||||
spaceapiccc:
|
||||
mjolnir:
|
||||
auth-dns:
|
||||
nextcloud_hosts:
|
||||
hosts:
|
||||
cloud:
|
||||
|
|
|
|||
|
|
@ -101,8 +101,3 @@
|
|||
|
||||
- name: Run ensure_eh22_styleguide_dir Playbook
|
||||
ansible.builtin.import_playbook: ensure_eh22_styleguide_dir.yaml
|
||||
|
||||
- name: Setup authoritative dns servers
|
||||
hosts: auth-dns
|
||||
roles:
|
||||
- auth-dns
|
||||
|
|
|
|||
|
|
@ -2,17 +2,17 @@
|
|||
# See knot.conf(5) or refer to the server documentation.
|
||||
|
||||
server:
|
||||
rundir: "/run/knot"
|
||||
rundir: "/rundir"
|
||||
user: knot:knot
|
||||
automatic-acl: on
|
||||
listen: [ "0.0.0.0@53", "::@53" ]
|
||||
listen: [ "212.12.48.124", "2a00:14b0:4200:3000:124::1" ]
|
||||
|
||||
log:
|
||||
- target: syslog
|
||||
- target: stderr
|
||||
any: info
|
||||
|
||||
database:
|
||||
storage: "/var/lib/knot"
|
||||
storage: "/storage"
|
||||
|
||||
key:
|
||||
- id: auth-dns.hamburg.ccc.de
|
||||
|
|
@ -41,7 +41,7 @@ policy:
|
|||
# define default settings that apply to all zones
|
||||
template:
|
||||
- id: default
|
||||
storage: "/etc/knot/zones"
|
||||
storage: "/config/zones"
|
||||
file: "%s.zone"
|
||||
semantic-checks: on
|
||||
zonefile-sync: -1
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
- tags: [ 02-auth-dns ]
|
||||
name: restart knot
|
||||
become: true
|
||||
notify: restart knot
|
||||
ansible.builtin.systemd:
|
||||
name: knot.service
|
||||
state: restarted
|
||||
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
- tags: [ auth-dns ]
|
||||
name: Install knot
|
||||
become: true
|
||||
package:
|
||||
name: [ knot, knot-exporter ]
|
||||
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
- 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=
|
||||
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
- import_tasks: 01-install.yaml
|
||||
- import_tasks: 02-configure.yaml
|
||||
Loading…
Add table
Add a link
Reference in a new issue