Try and make a public anitya dump with the right tables.

This commit is contained in:
Kevin Fenzi 2018-10-08 17:40:46 +00:00
parent f8e4394a87
commit f0c596c427
5 changed files with 46 additions and 1 deletions

View file

@ -84,6 +84,18 @@
tags:
- postgresql
- name: Copy over anitya public backup scriplet
copy: src=backup-database.anitya dest=/usr/local/bin/backup-database.anitya mode=0755
tags:
- postgresql
when: inventory_hostname.startswith('db01.phx2')
- name: Copy over anitya publib backup cron
copy: src=cron-backup-anitya-public dest=/etc/cron.d/cron-backup-anitya-public mode=0755
tags:
- postgresql
when: inventory_hostname.startswith('db01.phx2')
- name: Set up some cronjobs to backup databases as configured
template: >
src=cron-backup-database