ansible-collection-nameserver/roles/knot/tasks/install.yml
s3lph 2ae220b3eb
Some checks failed
Ansible Galaxy / deploy (push) Failing after 1m18s
Ansible Lint / build (push) Successful in 1m27s
feat: the great ansible-lint and documentation update
2024-04-14 22:41:41 +02:00

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