koji-sync-listener.py is renamed to koji_sync_listener.py

Also removing koji-sync-listerner.service as its not needed anymore

https://pagure.io/fedora-infra/ansible/c/4d37489f6f152ba07099ad7e7ec21eba50994a09

Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
This commit is contained in:
Mohan Boddu 2020-06-11 12:43:35 -04:00
parent b4e99f9230
commit 494e99c7fb
3 changed files with 2 additions and 6 deletions

View file

@ -38,9 +38,6 @@
- name: restart fedmsg-relay - name: restart fedmsg-relay
command: /usr/local/bin/conditional-restart.sh fedmsg-relay command: /usr/local/bin/conditional-restart.sh fedmsg-relay
- name: restart koji-sync-listener
action: service name=koji-sync-listener state=restarted
- name: reload httpd - name: reload httpd
command: /usr/local/bin/conditional-reload.sh httpd httpd command: /usr/local/bin/conditional-reload.sh httpd httpd

View file

@ -71,7 +71,7 @@
- name: sync packages from pagure-on-dist-git to koji (all branches) - name: sync packages from pagure-on-dist-git to koji (all branches)
# XXX If you modify this taglist. Please also modify the other copy in # XXX If you modify this taglist. Please also modify the other copy in
# bodhi2/backend/files/koji-sync-listener.py # bodhi2/backend/files/koji_sync_listener.py
# This cronjob runs only once a day. The listener script runs reactively. # This cronjob runs only once a day. The listener script runs reactively.
cron: name="owner-sync" minute="15" hour="4" user="root" cron: name="owner-sync" minute="15" hour="4" user="root"
job="/usr/local/bin/lock-wrapper owner-sync '/usr/local/bin/owner-sync-pagure f33 f33-container f33-modular f33-flatpak f32 f32-container f32-modular f32-flatpak f31 f31-container f31-flatpak f31-modular epel8 epel8-playground epel8-modular epel7 dist-6E-epel module-package-list modular'" job="/usr/local/bin/lock-wrapper owner-sync '/usr/local/bin/owner-sync-pagure f33 f33-container f33-modular f33-flatpak f32 f32-container f32-modular f32-flatpak f31 f31-container f31-flatpak f31-modular epel8 epel8-playground epel8-modular epel7 dist-6E-epel module-package-list modular'"
@ -83,7 +83,7 @@
- name: put the koji sync listener script in place - name: put the koji sync listener script in place
copy: copy:
src: koji-sync-listener.py src: koji_sync_listener.py
dest: /usr/lib/python3.8/site-packages/koji_sync_listener.py dest: /usr/lib/python3.8/site-packages/koji_sync_listener.py
mode: 0644 mode: 0644
when: env == "production" when: env == "production"
@ -100,7 +100,6 @@
when: env == "production" when: env == "production"
notify: notify:
- reload systemd - reload systemd
- restart koji-sync-listener
tags: tags:
- bodhi - bodhi
- koji-sync - koji-sync