From 9aac69ede81937677f4195d5b94016ba172c6e00 Mon Sep 17 00:00:00 2001 From: Markus Katharina Brechtel Date: Mon, 6 Jul 2020 09:51:50 +0200 Subject: [PATCH] directory access fix --- tasks/access.yml | 9 +-------- tasks/upgrade.yml | 2 ++ 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/tasks/access.yml b/tasks/access.yml index 969db92..ea63a27 100644 --- a/tasks/access.yml +++ b/tasks/access.yml @@ -20,14 +20,7 @@ - apps - themes - updater - -- name: nextcloud custom apps directory - file: - path: "{{nextcloud_directory}}/custom_apps" - state: directory - owner: www-data - group: www-data - mode: 0750 + - custom_apps - name: nextcloud lib directory file: diff --git a/tasks/upgrade.yml b/tasks/upgrade.yml index 2d07ca0..501c380 100644 --- a/tasks/upgrade.yml +++ b/tasks/upgrade.yml @@ -46,3 +46,5 @@ become: true become_user: www-data become_method: sudo + +- import_tasks: access.yml