Koschei: create RabbitMQ queue
This commit is contained in:
parent
9f933fddee
commit
3ff6a8502f
3 changed files with 9 additions and 2 deletions
|
@ -11,8 +11,13 @@
|
|||
- /srv/web/infra/ansible/roles/openshift-apps/koschei/vars/{{ env }}.yml
|
||||
|
||||
roles:
|
||||
- role: rabbit/user
|
||||
- role: rabbit/queue
|
||||
username: "{{ app }}{{ env_suffix }}"
|
||||
queue_name: "{{ app }}{{ env_suffix }}"
|
||||
routing_keys:
|
||||
- org.fedoraproject.stg.buildsys.tag
|
||||
- org.fedoraproject.stg.buildsys.task.state.change
|
||||
message_ttl: 60000
|
||||
|
||||
- openshift/project
|
||||
|
||||
|
|
|
@ -3,5 +3,6 @@ vhost: /pubsub
|
|||
default_exchange: amq.topic
|
||||
routing_keys:
|
||||
- "#"
|
||||
message_ttl: forever
|
||||
thresholds: false
|
||||
nagios_server: noc01.phx2.fedoraproject.org
|
||||
|
|
|
@ -49,6 +49,7 @@
|
|||
vhost: "{{ vhost }}"
|
||||
auto_delete: no
|
||||
durable: yes
|
||||
message_ttl: "{{ message_ttl }}"
|
||||
state: present
|
||||
login_user: admin
|
||||
login_password: "{{ (env == 'production')|ternary(rabbitmq_admin_password_production, rabbitmq_admin_password_staging) }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue