From f5cf7fd8b064bbcd814bf4dfa492b825951df1e3 Mon Sep 17 00:00:00 2001 From: Kris Lamoureux Date: Tue, 7 Jul 2020 17:44:25 -0400 Subject: [PATCH] Remove Nextcloud's CAN_INSTALL file --- roles/nextcloud/tasks/main.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/nextcloud/tasks/main.yml b/roles/nextcloud/tasks/main.yml index 1d8f875..3cc98d9 100644 --- a/roles/nextcloud/tasks/main.yml +++ b/roles/nextcloud/tasks/main.yml @@ -71,3 +71,8 @@ - "php occ db:convert-filecache-bigint" - "php occ maintenance:mode --off" when: nextcloud_install.changed + +- name: Remove Nextcloud's CAN_INSTALL file + file: + path: "{{ nextcloud_root }}/public_html/config/CAN_INSTALL" + state: absent