unbound: change task order
Seems to be necessary to restart unbound manually for some reason?...
This commit is contained in:
parent
3d742c391c
commit
e4d428d1dc
1 changed files with 9 additions and 7 deletions
|
@ -19,6 +19,15 @@
|
|||
state: present
|
||||
register: unbound_install
|
||||
|
||||
- name: ensure unbound log directory exists
|
||||
file:
|
||||
path: /var/log/unbound
|
||||
state: directory
|
||||
mode: '0755'
|
||||
owner: unbound
|
||||
group: unbound
|
||||
notify: restart unbound
|
||||
|
||||
- name: add unbound-control configuration
|
||||
template:
|
||||
src: unbound-control.conf.j2
|
||||
|
@ -33,13 +42,6 @@
|
|||
mode: 0644
|
||||
notify: restart unbound
|
||||
|
||||
- name: ensure unbound log directory exists
|
||||
file:
|
||||
path: /var/log/unbound
|
||||
state: directory
|
||||
mode: '0755'
|
||||
owner: unbound
|
||||
group: unbound
|
||||
|
||||
- name: ask apparmor to allow unbound to write to log file
|
||||
template:
|
||||
|
|
Loading…
Reference in a new issue