---

- name: Set bind configuration for authoritative server
  ansible.builtin.template:
    src: named.conf.options_authoritative.j2
    dest: /etc/bind/named.conf.options
    owner: bind
    group: bind
    mode: "0644"
    force: true
  notify: restart bind