fixes in unbound
This commit is contained in:
parent
e4347eeb4f
commit
7066bee4ca
2 changed files with 45 additions and 0 deletions
|
@ -20,6 +20,21 @@
|
|||
vars:
|
||||
__os_supported: "{{ lookup('vars', '{}_os_supported'.format(role_name)) | bool }}"
|
||||
|
||||
- name: Install unbound DNS resolver
|
||||
apt:
|
||||
name: unbound
|
||||
state: latest
|
||||
|
||||
- name: Set unbound config file
|
||||
template:
|
||||
src: unbound.conf.j2
|
||||
dest: /etc/unbound/unbound.conf.d/default.conf
|
||||
|
||||
- name: Restart unbound
|
||||
service:
|
||||
name: unbound
|
||||
state: restarted
|
||||
|
||||
- name: Check whether pi-hole is installed
|
||||
stat:
|
||||
path: "{{ pihole_config_dir }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue