Add cron job for regenerating infra dist repos in Koji (#7246)
https://pagure.io/fedora-infrastructure/issue/7246
This commit is contained in:
parent
0826192153
commit
396d9eb253
1 changed files with 23 additions and 0 deletions
|
@ -450,3 +450,26 @@
|
|||
when: inventory_hostname.startswith('bodhi-backend01.stg')
|
||||
tags:
|
||||
- bodhi
|
||||
|
||||
- name: Install cron job to regenerate dist repos regularly
|
||||
cron:
|
||||
cron_file: dist-repo-regen
|
||||
name: dist-repo-regen
|
||||
job: /usr/local/bin/dist-repo-regen.py
|
||||
user: apache
|
||||
minute: 17
|
||||
when: inventory_hostname.startswith('bodhi-backend01.stg')
|
||||
tags:
|
||||
- bodhi
|
||||
- cron
|
||||
|
||||
- name: Redirect debugging output from dist-repo-regen cron to mizdebsk
|
||||
cron:
|
||||
cron_file: dist-repo-regen
|
||||
name: MAILTO
|
||||
value: mizdebsk
|
||||
env: yes
|
||||
when: inventory_hostname.startswith('bodhi-backend01.stg')
|
||||
tags:
|
||||
- bodhi
|
||||
- cron
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue