summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/mq/tasks/rabbitmq_config.yml
blob: 5eeccd65c941f8ac7be00af294d02debeb5e387b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---
- name: remove default guest user is removed
  rabbitmq_user:
    user: guest
    state: absent

- name: add rabbitmq user
  rabbitmq_user:
    user='{{ RABBIT_USER }}'
    password='{{ RABBIT_PASS }}'
    vhost=/
    configure_priv=.*
    write_priv=.*
    read_priv=.*
    state=present