Files
ansible/roles/unbound/tasks/configure.yml
T
2026-08-28 11:11:03 +00:00

16 lines
307 B
YAML

---
- name: ensure /etc/unbound exists
ansible.builtin.file:
path: /etc/unbound
state: directory
mode: "0755"
- name: deploy unbound config
ansible.builtin.copy:
src: "{{ item }}"
dest: "/etc/unbound/{{ item }}"
mode: "0744"
loop:
- unbound.conf
notify: restart unbound