Remove retired packages from tagger with a cronjob.
This commit is contained in:
parent
dedec7b357
commit
d600f85601
2 changed files with 12 additions and 1 deletions
2
roles/tagger/files/cron-tagger-remove-retired
Normal file
2
roles/tagger/files/cron-tagger-remove-retired
Normal file
|
@ -0,0 +1,2 @@
|
|||
# Pull in new packages from koji and pkgdb every other hour at 19 minutes past.
|
||||
49 */2 * * * apache FEDORATAGGER_CONFIG=/etc/fedoratagger/fedoratagger.cfg /usr/bin/fedoratagger-remove-pkgs -s Retired >> /var/log/fedoratagger.log 2>&1
|
|
@ -77,7 +77,7 @@
|
|||
- config
|
||||
when: logstat.rc == 1
|
||||
|
||||
- name: setup the cronjob
|
||||
- name: setup the update-with-new-packages cronjob
|
||||
copy: >
|
||||
src=cron-tagger-update-db
|
||||
dest=/etc/cron.d/cron-tagger-update-db
|
||||
|
@ -85,3 +85,12 @@
|
|||
- cron
|
||||
- config
|
||||
when: install_tagger_cron
|
||||
|
||||
- name: setup the remove-old-and-crusty-packages cronjob
|
||||
copy: >
|
||||
src=cron-tagger-remove-retired
|
||||
dest=/etc/cron.d/cron-tagger-remove-retired
|
||||
tags:
|
||||
- cron
|
||||
- config
|
||||
when: install_tagger_cron
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue