feat(dns): unbound profiles

This commit is contained in:
Matthieu Bessat 2024-07-09 12:51:18 +02:00
parent 5055fefcf8
commit cf465e009d

View file

@ -30,3 +30,12 @@
name: unbound
state: started
enabled: true
# copy from dots file to the /etc/unbound/config.d the additonal config enabled
- name: Setup additonal namespaces config
become: true
copy:
src: "{{ home }}/.dots/config/unbound/profiles/{{ item }}.conf"
dest: "/etc/unbound/config.d/{{ item }}.conf"
with_items: "{{ unbound_profiles }}"