From 9a00bf973a59838c2de0d18f1e05f6d65ccab164 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Thu, 10 Sep 2020 20:00:06 +0200 Subject: [PATCH] Update to 2020-09-10 20:00 --- roles/seafile/tasks/install.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/roles/seafile/tasks/install.yml b/roles/seafile/tasks/install.yml index 4b74ce5..868bfe4 100644 --- a/roles/seafile/tasks/install.yml +++ b/roles/seafile/tasks/install.yml @@ -279,3 +279,12 @@ mode: 0755 tags: seafile +- name: Deploy a python wrapper for Seafile + copy: + content: | + #!/bin/bash -e + export PYTHONPATH={{ seafile_root_dir }}/lib/python3.6/site-packages/ + {{ seafile_root_dir }}/bin/python3 $@ + dest: /usr/local/bin/seafpy + mode: 0755 + tags: seafile