unbound does not depend on openresolv

But make sure the config file exists so Unbound doesn't choke when
starting.
This commit is contained in:
Pig Monkey 2021-10-21 18:29:52 -07:00
parent f21dc955de
commit 03261a8744
2 changed files with 5 additions and 1 deletions

View file

@ -1,5 +1,4 @@
---
dependencies:
- { role: openresolv }
- { role: systemd }
- { role: nmtrust }

View file

@ -10,6 +10,11 @@
dest: /etc/unbound/root.hints
force: yes
- name: Verify unbound resolvconf config file exists
file:
path: /etc/unbound/resolvconf.conf
state: touch
- name: Copy Unbound configuration file
template:
src: unbound.conf.j2