Extracted role misc/backup_files from server/{gitea,nextcloud}
parent
83e249e73c
commit
8303d0126e
@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
# domain: backup.example
|
||||||
|
backup_directory: "{{ global_webservers_directory }}/{{ domain }}"
|
@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
- name: Configure auto backup files of {{ domain }}
|
||||||
|
cron:
|
||||||
|
hour: 1
|
||||||
|
minute: 0
|
||||||
|
job: "{{ global_helper_directory }}/backup_files.sh {{ backup_directory | quote }} {{ domain | quote }}"
|
||||||
|
name: "backup files of {{ domain }}"
|
||||||
|
state: present
|
Loading…
Reference in New Issue