From f5acd6014dc3e45755b1c504c9a1b3c9f4199623 Mon Sep 17 00:00:00 2001 From: Salt Date: Wed, 6 May 2020 01:59:17 -0500 Subject: [PATCH] Add backup script for Nextcloud --- 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 2595fbd..d582c48 100644 --- a/roles/nextcloud/tasks/main.yml +++ b/roles/nextcloud/tasks/main.yml @@ -99,4 +99,9 @@ vars: website_url: "{{ nextcloud_url }}" website_webroot: "{{ nextcloud_webroot }}" + - name: Template out backup module + template: + src: "backup.sh" + dest: "/opt/backups/modules/{{ nextcloud_url }}.sh" + mode: "0600" become: yes