From def14f0993b863bba310488a26e981e8587bbe22 Mon Sep 17 00:00:00 2001 From: Niklas Yann Wettengel Date: Sun, 23 Aug 2020 13:23:57 +0200 Subject: fastd: accept all keys --- roles/install_fastd/tasks/main.yml | 24 +++++------------------- 1 file changed, 5 insertions(+), 19 deletions(-) (limited to 'roles/install_fastd/tasks') diff --git a/roles/install_fastd/tasks/main.yml b/roles/install_fastd/tasks/main.yml index 03004ce..76bee05 100644 --- a/roles/install_fastd/tasks/main.yml +++ b/roles/install_fastd/tasks/main.yml @@ -32,25 +32,11 @@ notify: restart fastd{{ item.name }} with_items: "{{ sites }}" -- name: add fastd peers folder - file: - path: /etc/fastd/ff{{ item.name }}/peers - state: directory - with_items: "{{ sites }}" - -- name: add fastd peer api script - template: - src: fastd-api.php.j2 - dest: /etc/fastd/ff{{ item.name }}/bin/fastd-api.php - with_items: "{{ sites }}" - -- name: setup cronjob for fastd-api - cron: - name: fastd-api-{{ item.name }} - minute: '*/10' - user: root - cron_file: fastd-api - job: '/usr/bin/php /etc/fastd/ff{{ item.name }}/bin/fastd-api.php' +- name: add fastd verify script + copy: + src: verify.sh + dest: /etc/fastd/ff{{ item.name }}/bin/verify.sh + mode: 0744 with_items: "{{ sites }}" - name: start and enable fastd service -- cgit v1.2.3-54-g00ecf