fastd: make sure at least a dummy blacklist.sh is available

This commit is contained in:
Markus 2018-01-14 20:23:08 +01:00
parent cb615fa1b6
commit 5384ce802a
2 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,2 @@
#!/bin/sh
exit 0

View File

@ -26,5 +26,8 @@
fastd_key: path=/etc/fastd/{{ fastd_instance }}/secret.conf
notify: Restart fastd
- name: Make sure at least a dummy blacklist.sh is available
copy: src=blacklist.sh dest=/etc/fastd/{{ fastd_instance }}/blacklist.sh mode=0755 force=no
- name: Enable fastd {{ fastd_instance }}
service: name=fastd@{{ fastd_instance }} enabled=yes