ansible-collection-nameserver/roles/knot/tasks/config.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

12 lines
348 B
YAML

---
- name: Render knot master config
ansible.builtin.template:
src: etc/knot/knot.conf.j2
dest: /etc/knot/knot.conf
owner: knot
group: knot
mode: "0640"
vars:
zones: "{{ hostvars[inventory_hostname] | dict2items | selectattr('key', 'match', '^knot_zone_.+$') | map(attribute='value') | list }}"
notify: restart knot