rabbitmq: Add user and password for login

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
This commit is contained in:
Michal Konečný 2019-02-28 10:52:24 +01:00
parent e647a9b6e0
commit 40773f5afa

View file

@ -38,6 +38,8 @@
auto_delete: no
durable: yes
state: present
login_user: admin
login_password: "{{ (env == 'production')|ternary(rabbitmq_admin_password_production, rabbitmq_admin_password_staging) }}"
- name: Bind the queue to the topic exchange
delegate_to: "{{ rabbitmq_server }}"