distgit/pagure: Turn off the pagure-sync-bugzilla cron job

This script has been ported to its own upstream at:
https://pagure.io/Fedora-Infra/distgit-bugzilla-sync
and is now running as a cron job in openshift (twice a day).

So we can remove it from this role/host.

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
Pierre-Yves Chibon 2020-01-08 17:31:00 +01:00
parent 858fcc0136
commit a23e73df37

View file

@ -16,10 +16,10 @@
- python-fedora-flask
- pagure-dist-git
# For the pagure-sync-bugzilla.py script
- python-bugzilla
- python-requests
- PyYAML
- python-six
# - python-bugzilla
# - python-requests
# - PyYAML
# - python-six
# - mod_ssl
# - stunnel
tags:
@ -270,30 +270,30 @@
- hotfix
- hotfixfas
- name: generate pagure-sync-bugzilla.py script
template:
src: pagure-sync-bugzilla.py.j2
dest: /usr/local/bin/pagure-sync-bugzilla.py
owner: root
group: root
mode: 0700
tags:
- pagure
- bugzilla
#- name: generate pagure-sync-bugzilla.py script
# template:
# src: pagure-sync-bugzilla.py.j2
# dest: /usr/local/bin/pagure-sync-bugzilla.py
# owner: root
# group: root
# mode: 0700
# tags:
# - pagure
# - bugzilla
- name: Configure cron job for a daily pagure-sync-bugzilla.py script run
cron:
name: pagure-sync-bugzilla
user: root
minute: 0
hour: 18
job: /usr/local/bin/lock-wrapper pagure-sync-bugzilla "/usr/local/bin/pagure-sync-bugzilla.py"
cron_file: pagure-sync-bugzilla
state: present
when: env != 'staging'
tags:
- pagure
- bugzilla
#- name: Configure cron job for a daily pagure-sync-bugzilla.py script run
# cron:
# name: pagure-sync-bugzilla
# user: root
# minute: 0
# hour: 18
# job: /usr/local/bin/lock-wrapper pagure-sync-bugzilla "/usr/local/bin/pagure-sync-bugzilla.py"
# cron_file: pagure-sync-bugzilla
# state: present
# when: env != 'staging'
# tags:
# - pagure
# - bugzilla
# Cron job to export extras information from the pagure DB
- name: Install the apache configuration file for /extras