init empty unbound role

This commit is contained in:
2026-08-28 11:11:03 +00:00
parent 681f384810
commit 47e6340bf0
5 changed files with 90 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
---
- 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