mirror of
https://github.com/pigmonkey/spark.git
synced 2026-01-23 02:24:09 +00:00
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:
parent
f21dc955de
commit
03261a8744
2 changed files with 5 additions and 1 deletions
|
|
@ -1,5 +1,4 @@
|
|||
---
|
||||
dependencies:
|
||||
- { role: openresolv }
|
||||
- { role: systemd }
|
||||
- { role: nmtrust }
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue