unbound: change task order

Seems to be necessary to restart unbound manually for some reason?...
This commit is contained in:
Yohaï-Eliel BERREBY 2020-05-07 18:49:31 +02:00
parent 3d742c391c
commit e4d428d1dc

View file

@ -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: