From 5384ce802aff199e249c7d366112ada3ade83a6b Mon Sep 17 00:00:00 2001 From: Markus Hauschild Date: Sun, 14 Jan 2018 20:23:08 +0100 Subject: [PATCH] fastd: make sure at least a dummy blacklist.sh is available --- roles/fastd/files/blacklist.sh | 2 ++ roles/fastd/tasks/main.yml | 3 +++ 2 files changed, 5 insertions(+) create mode 100644 roles/fastd/files/blacklist.sh diff --git a/roles/fastd/files/blacklist.sh b/roles/fastd/files/blacklist.sh new file mode 100644 index 0000000..039e4d0 --- /dev/null +++ b/roles/fastd/files/blacklist.sh @@ -0,0 +1,2 @@ +#!/bin/sh +exit 0 diff --git a/roles/fastd/tasks/main.yml b/roles/fastd/tasks/main.yml index 1f46283..44f764e 100644 --- a/roles/fastd/tasks/main.yml +++ b/roles/fastd/tasks/main.yml @@ -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