24 lines
668 B
YAML
24 lines
668 B
YAML
|
#- 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
|