aboutsummaryrefslogtreecommitdiffstats
path: root/roles/space_server/tasks/unbound.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/space_server/tasks/unbound.yml')
-rw-r--r--roles/space_server/tasks/unbound.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/space_server/tasks/unbound.yml b/roles/space_server/tasks/unbound.yml
index 9b83c98..0de4c78 100644
--- a/roles/space_server/tasks/unbound.yml
+++ b/roles/space_server/tasks/unbound.yml
@@ -1,4 +1,12 @@
---
+- name: Create /etc/resolv.conf
+ copy:
+ dest: '/etc/resolv.conf'
+ src: resolv.conf
+ owner: root
+ group: root
+ mode: 0644
+
- name: Configure unbound
template:
dest: '/etc/unbound/unbound.conf'