Backup the anitya database on a daily basis
This commit is contained in:
parent
aee055c903
commit
fa0cbc43c3
1 changed files with 10 additions and 0 deletions
|
@ -45,6 +45,16 @@
|
||||||
tags:
|
tags:
|
||||||
- anitya_backend
|
- 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.
|
- name: Add our postgres config file.
|
||||||
copy: >
|
copy: >
|
||||||
src={{ item }}
|
src={{ item }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue