mirror of https://dev.ccchb.de/ccchb/ansible.git
Use path variables for Unbound. Changes #31
This commit is contained in:
parent
53f05a7071
commit
50a3a3d270
|
@ -5,10 +5,10 @@
|
|||
state: reloaded
|
||||
|
||||
- name: Reload unbound
|
||||
command: s6-svc -h /run/service/unbound
|
||||
command: s6-svc -h {{ s6_scan_dir }}/unbound
|
||||
|
||||
- name: Restart unbound
|
||||
command: s6-svc -wR -T 5000 -ru /run/service/unbound
|
||||
command: s6-svc -wR -T 5000 -ru {{ s6_scan_dir }}/unbound
|
||||
|
||||
- name: Restart unbound log
|
||||
command: s6-svc -wR -T 5000 -ru /run/service/unbound-log
|
||||
command: s6-svc -wR -T 5000 -ru {{ s6_scan_dir }}/unbound-log
|
||||
|
|
|
@ -67,7 +67,7 @@
|
|||
meta: flush_handlers
|
||||
|
||||
- name: Start unbound
|
||||
command: fdmove -c 2 1 s6-rc -u -v 2 -t 15000 change unbound
|
||||
command: fdmove -c 2 1 s6-rc -l {{ s6_live_dir }} -u -v 2 -t 15000 change unbound
|
||||
register: change
|
||||
changed_when: change.stdout | length > 0
|
||||
|
||||
|
|
Loading…
Reference in New Issue