Add backup script for Nextcloud
This commit is contained in:
parent
9da55f236c
commit
f5acd6014d
@ -99,4 +99,9 @@
|
|||||||
vars:
|
vars:
|
||||||
website_url: "{{ nextcloud_url }}"
|
website_url: "{{ nextcloud_url }}"
|
||||||
website_webroot: "{{ nextcloud_webroot }}"
|
website_webroot: "{{ nextcloud_webroot }}"
|
||||||
|
- name: Template out backup module
|
||||||
|
template:
|
||||||
|
src: "backup.sh"
|
||||||
|
dest: "/opt/backups/modules/{{ nextcloud_url }}.sh"
|
||||||
|
mode: "0600"
|
||||||
become: yes
|
become: yes
|
||||||
|
Loading…
Reference in New Issue
Block a user