@ -80,6 +80,15 @@
- reload systemd
- restart gitea
- name: Configure auto backup of gitea repositories directory
cron:
hour: 1
minute: 0
job: "{{ global_helper_directory }}/backup_files.sh {{ gitea_repositories_directory | quote }} {{ domain | quote }}"
name: "backup gitea repositories of {{ domain }}"
state: present
# TODO Disable backup in update process
- name: Enable auto update of gitea
hour: 2