fastd: make sure at least a dummy blacklist.sh is available
This commit is contained in:
parent
cb615fa1b6
commit
5384ce802a
2
roles/fastd/files/blacklist.sh
Normal file
2
roles/fastd/files/blacklist.sh
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
exit 0
|
@ -26,5 +26,8 @@
|
|||||||
fastd_key: path=/etc/fastd/{{ fastd_instance }}/secret.conf
|
fastd_key: path=/etc/fastd/{{ fastd_instance }}/secret.conf
|
||||||
notify: Restart fastd
|
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 }}
|
- name: Enable fastd {{ fastd_instance }}
|
||||||
service: name=fastd@{{ fastd_instance }} enabled=yes
|
service: name=fastd@{{ fastd_instance }} enabled=yes
|
||||||
|
Loading…
Reference in New Issue
Block a user