diff --git a/roles/batcave/tasks/main.yml b/roles/batcave/tasks/main.yml index 1c4797643b..4582ef5bda 100644 --- a/roles/batcave/tasks/main.yml +++ b/roles/batcave/tasks/main.yml @@ -200,8 +200,10 @@ # This is another script to announce commits, this time to the fedmsg bus # -- name: install fedmsg-announce-commits script - copy: src=fedmsg-announce-commits.py dest=/usr/local/bin/fedmsg-announce-commits.py mode=0755 +- name: install packages needed + package: + name: fedora-messaging-git-hook + state: present tags: - batcave - config diff --git a/roles/batcave/templates/batcave-messaging.toml b/roles/batcave/templates/batcave-messaging.toml index 4dfc9c32af..8f551458d7 100644 --- a/roles/batcave/templates/batcave-messaging.toml +++ b/roles/batcave/templates/batcave-messaging.toml @@ -21,3 +21,7 @@ certfile = "/etc/pki/rabbitmq/batcave.crt" [client_properties] app = "batcave" + +[consumer_config] +with_namespace = false +url_template = "https://{{ env_suffix }}pagure.io/fedora-infra/{repo}/c/{rev}?branch={branch}"