On Wed, Oct 09, 2019 at 06:03:48PM +0200, Aurelien Bompard wrote: > Do you have a ansible patch here? > > Yes, sorry, this is it. > diff --git a/roles/rabbit/queue/tasks/main.yml b/roles/rabbit/queue/tasks/main.yml > index 7259984f6..68ced3015 100644 > --- a/roles/rabbit/queue/tasks/main.yml > +++ b/roles/rabbit/queue/tasks/main.yml > @@ -66,7 +66,7 @@ > login_password: "{{ (env == 'production')|ternary(rabbitmq_admin_password_production, rabbitmq_admin_password_staging) }}" > tags: fedora-messaging > > -- name: Bind the {{ queue_name }} queue to the topic exchange > +- name: Bind the {{ queue_name }} queue to the amq.topic exchange > delegate_to: "{{ rabbitmq_server }}" > rabbitmq_binding: > name: "amq.topic" > @@ -80,6 +80,21 @@ > loop: "{{ routing_keys }}" > tags: fedora-messaging > > +# This can be removed when we're done with fedmsg and the bridges are retired. > +- name: Bind the {{ queue_name }} queue to the zmq.topic exchange > + delegate_to: "{{ rabbitmq_server }}" > + rabbitmq_binding: > + name: "zmq.topic" > + destination: "{{ queue_name }}" > + destination_type: queue > + routing_key: "{{ item }}" > + vhost: "{{ vhost }}" > + state: present > + login_user: admin > + login_password: "{{ (env == 'production')|ternary(rabbitmq_admin_password_production, rabbitmq_admin_password_staging) }}" > + loop: "{{ routing_keys }}" > + tags: fedora-messaging > + > - name: Monitor the {{ queue_name }} queue in Nagios (NRPE) > when: thresholds and env == "production" > delegate_to: "{{ rabbitmq_server }}" +1 for me Pierre _______________________________________________ infrastructure mailing list -- infrastructure@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to infrastructure-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/infrastructure@xxxxxxxxxxxxxxxxxxxxxxx