ansible-public-dns/roles/hidden_primary/tasks/knot.yml

24 lines
668 B
YAML
Raw Normal View History

2024-02-05 09:04:32 +01:00
#- name: Create /usr/share/keyrings directory
# ansible.builtin.file:
# path: /usr/share/keyrings
# state: directory
# mode: '0755'
#
#- name: Download KnotDNS Repo Signing Key
# ansible.builtin.get_url:
# url: https://pkg.labs.nic.cz/gpg
# dest: /usr/share/keyrings/cznic-labs-pkg.gpg
# mode: '0644'
#
#- name: Add KnotDNS Repository
# ansible.builtin.apt_repository:
# repo: deb [signed-by=/usr/share/keyrings/cznic-labs-pkg.gpg] https://pkg.labs.nic.cz/knot-dns bookworm main
# state: present
#
#- name: Install KnotDNS
# ansible.builtin.apt:
# pkg:
# - knot
# state: latest
# update_cache: yes
# register: package_install