#122 koji-sync-listener.py is renamed to koji_sync_listener.py
Merged 3 years ago by mohanboddu. Opened 3 years ago by mohanboddu.
fedora-infra/ mohanboddu/ansible re-enable-pushes  into  master

@@ -38,9 +38,6 @@ 

  - name: restart 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

    command: /usr/local/bin/conditional-reload.sh httpd httpd

  

@@ -71,7 +71,7 @@ 

  

  - 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

-   # 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.

    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'"
@@ -83,7 +83,7 @@ 

  

  - name: put the koji sync listener script in place

    copy:

-       src: koji-sync-listener.py

+       src: koji_sync_listener.py

        dest: /usr/lib/python3.8/site-packages/koji_sync_listener.py

        mode: 0644

    when: env == "production"
@@ -100,7 +100,6 @@ 

    when: env == "production"

    notify:

    - reload systemd

-   - restart koji-sync-listener

    tags:

    - bodhi

    - koji-sync

roles/bodhi2/backend/templates/koji_sync_listener.toml roles/bodhi2/backend/templates/koji-sync-listener.toml
file renamed
file was moved with no change to the file