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