diff --git a/roles/unbound/tasks/main.yml b/roles/unbound/tasks/main.yml index b902089..d0fdd75 100644 --- a/roles/unbound/tasks/main.yml +++ b/roles/unbound/tasks/main.yml @@ -30,3 +30,8 @@ - name: Enable and start Unbound service: name=unbound.service enabled=yes state=started + +- name: Configure resolvconf to use Unbound + lineinfile: dest=/etc/resolvconf.conf + state=present + line="name_servers=127.0.0.1"