Add DNS over TLS.

This commit is contained in:
Tom Alexander
2022-12-14 22:36:12 -05:00
parent e9e772f4fa
commit 558c71219b
6 changed files with 73 additions and 40 deletions

View File

@@ -1,3 +1,4 @@
# MANUAL: I had to run `sudo service local_unbound setup`
- name: Install configuration
copy:
src: "files/{{ item.src }}"
@@ -35,3 +36,13 @@
# - name: net.inet6.ip6.use_tempaddr # Enable privacy addresses
# value: "1"
# - name: net.inet6.ip6.prefer_tempaddr # Prefer privacy addresses
- name: Install service configuration
copy:
src: "files/{{ item }}_rc.conf"
dest: "/etc/rc.conf.d/{{ item }}"
mode: 0644
owner: root
group: wheel
loop:
- local_unbound