aboutsummaryrefslogtreecommitdiffstats
path: root/roles/space_server/tasks
diff options
context:
space:
mode:
authorEmil Renner Berthing <esmil@labitat.dk>2018-12-05 18:10:32 +0100
committerEmil Renner Berthing <esmil@labitat.dk>2018-12-05 18:10:32 +0100
commitd0e49056dce46ad1a721b62b57ee16c43b8ea4f1 (patch)
treee07abb9287bacc121a2b0dd32561a3057b73362b /roles/space_server/tasks
parent733fbbb1ff2fbd427ec7ef1955232150f4a9fb5a (diff)
downloadlabitat-ansible-d0e49056dce46ad1a721b62b57ee16c43b8ea4f1.tar.gz
labitat-ansible-d0e49056dce46ad1a721b62b57ee16c43b8ea4f1.tar.xz
labitat-ansible-d0e49056dce46ad1a721b62b57ee16c43b8ea4f1.zip
space_server: unbound: create /etc/resolv.conf
Diffstat (limited to 'roles/space_server/tasks')
-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'