mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-28 12:32:50 +08:00
Enable owner-sync-pkgdb on bodhi-backend01.
This commit is contained in:
@@ -131,17 +131,16 @@
|
||||
#
|
||||
# cron job that syncs packages to koji
|
||||
#
|
||||
#- name: put owner-sync-pkgdb in place
|
||||
# template: src=owner-sync-pkgdb.j2 dest=/usr/local/bin/owner-sync-pkgdb mode=0755
|
||||
# tags:
|
||||
# - config
|
||||
# - bodhi
|
||||
- name: put owner-sync-pkgdb in place
|
||||
template: src=owner-sync-pkgdb.j2 dest=/usr/local/bin/owner-sync-pkgdb mode=0755
|
||||
tags:
|
||||
- config
|
||||
- bodhi
|
||||
|
||||
- name: sync packages from pkgdb2 to koji (el5)
|
||||
cron: name="owner-sync-el5" minute="7,17,27,37,47,57" user="root"
|
||||
job="/usr/local/bin/owner-sync-pkgdb dist-5E-epel"
|
||||
cron_file=update-koji-owner-EL-5
|
||||
state=absent
|
||||
when: inventory_hostname.startswith('bodhi-backend01') and env == "production"
|
||||
tags:
|
||||
- bodhi
|
||||
@@ -150,7 +149,6 @@
|
||||
cron: name="owner-sync-el5" minute="7,17,27,37,47,57" user="root"
|
||||
job="/usr/local/bin/owner-sync-pkgdb dist-6E-epel"
|
||||
cron_file=update-koji-owner-EL-6
|
||||
state=absent
|
||||
when: inventory_hostname.startswith('bodhi-backend01') and env == "production"
|
||||
tags:
|
||||
- bodhi
|
||||
@@ -159,7 +157,6 @@
|
||||
cron: name="owner-sync-el5" minute="7,17,27,37,47,57" user="root"
|
||||
job="/usr/local/bin/owner-sync-pkgdb epel7"
|
||||
cron_file=update-koji-owner-epel7
|
||||
state=absent
|
||||
when: inventory_hostname.startswith('bodhi-backend01') and env == "production"
|
||||
tags:
|
||||
- bodhi
|
||||
@@ -168,7 +165,6 @@
|
||||
cron: name="owner-sync-el5" minute="7,17,27,37,47,57" user="root"
|
||||
job="/usr/local/bin/owner-sync-pkgdb f20"
|
||||
cron_file=update-koji-owner-f20
|
||||
state=absent
|
||||
when: inventory_hostname.startswith('bodhi-backend01')
|
||||
tags:
|
||||
- bodhi
|
||||
|
||||
Reference in New Issue
Block a user