24 lines
528 B
YAML
24 lines
528 B
YAML
---
|
|
|
|
- name: Install knot repository
|
|
ansible.builtin.deb822_repository:
|
|
name: knot
|
|
types: deb
|
|
uris: "{{ knot_repository_url }}"
|
|
suites: "{{ knot_repository_distribution }}"
|
|
components: main
|
|
signed_by: https://deb.knot-dns.cz/apt.gpg
|
|
when: knot_repository_install
|
|
|
|
- name: Install dependencies
|
|
ansible.builtin.package:
|
|
name:
|
|
- knot
|
|
- knot-dnsutils
|
|
- knot-dnssecutils
|
|
|
|
- name: Start and enable knot
|
|
ansible.builtin.service:
|
|
name: knot
|
|
state: started
|
|
enabled: true
|