Updated rabbitmq

This commit is contained in:
Viswesuwara Nathan SSK 2016-11-10 16:02:51 +05:30 committed by GitHub
parent 83ccc76900
commit aac04c8efd
1 changed files with 3 additions and 3 deletions

View File

@ -1,10 +1,10 @@
{% if amqp.host or amqp.hosts -%}
rabbit_userid = {{ amqp.username }}
rabbit_password = {{ amqp.password }}
rabbit_virtual_host = {{ amqp.vhost }}
{% if amqp.hosts -%}
rabbit_hosts = {{ amqp.hosts }}
{% else -%}
rabbit_host = {{ amqp.host }}
{% endif -%}
rabbit_userid = {{ amqp.username }}
rabbit_password = {{ amqp.password }}
rabbit_virtual_host = {{ amqp.vhost }}
{% endif -%}