mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-06-27 23:57:02 +08:00
Backup the anitya database on a daily basis
This commit is contained in:
@@ -45,6 +45,16 @@
|
||||
tags:
|
||||
- anitya_backend
|
||||
|
||||
- name: Set up some cronjobs to backup databases as configured
|
||||
template: >
|
||||
src=cron-backup-database
|
||||
dest=/etc/cron.d/cron-backup-database-{{ item }}
|
||||
with_items:
|
||||
- anitya
|
||||
tags:
|
||||
- cron
|
||||
- postgresql
|
||||
|
||||
- name: Add our postgres config file.
|
||||
copy: >
|
||||
src={{ item }}
|
||||
|
||||
Reference in New Issue
Block a user