Add the cron job for the new scripts from pagure-dist-git

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
Pierre-Yves Chibon 2017-10-17 11:01:31 +02:00
parent a24d45e5fe
commit 451fac0502

View file

@ -276,6 +276,28 @@
tags:
- pagure
- name: Configure cron job for a hourly pagure_bz
cron:
name: pagure-poc
user: root
minute: 0
job: /usr/bin/python2 /usr/libexec/pagure-dist-git/pagure_bz.py /srv/cache/extras
cron_file: pagure-bz
state: present
tags:
- pagure
- name: Configure cron job for a hourly pagure_owner_alias
cron:
name: pagure-poc
user: root
minute: 0
job: /usr/bin/python2 /usr/libexec/pagure-dist-git/pagure_owner_alias.py /srv/cache/extras
cron_file: pagure-owner-alias
state: present
tags:
- pagure
# Ensure all the services are up and running
- name: Start and enable httpd, postfix, pagure_milter