Koschei: create RabbitMQ queue

This commit is contained in:
Mikolaj Izdebski 2019-09-19 11:31:18 +02:00 committed by Pierre-Yves Chibon
parent 9f933fddee
commit 3ff6a8502f
3 changed files with 9 additions and 2 deletions

View file

@ -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) }}"
@ -83,4 +84,4 @@
template:
src: nagios.cfg.j2
dest: /etc/nagios/services/rabbitmq-queue-{{ queue_name }}.cfg
notify: restart nagios on noc
notify: restart nagios on noc