Add backup script for Nextcloud

This commit is contained in:
Salt 2020-05-06 01:59:17 -05:00
parent 9da55f236c
commit f5acd6014d

View File

@ -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