Sha256: ec6a4c43f2ff35014755a3b94d8823439fb154cded02c2d8a9782efb77c6168e

Contents?: true

Size: 958 Bytes

Versions: 2

Compression:

Stored size: 958 Bytes

Contents

---
- name : MQ install MQ service (RabbitMQ)
  package:
    pkg: rabbitmq-server
    state: present

- name: MQ enable rabbitmq plugins
  rabbitmq_plugin: names=rabbitmq_management,rabbitmq_tracing,rabbitmq_federation state=enabled
  notify: restart rabbitmq

- name: add Admin users
  rabbitmq_user:
    user: "{{ mq_admin_username }}"
    password: "{{ mq_admin_password }}"
    tags: administrator,"{{ mq_admin_username }}"
    vhost: /
    configure_priv: .*
    write_priv: .*
    read_priv: .*
    state: present


- name: remove default guest user
  rabbitmq_user:
    user: guest
    state: absent


- name: MQ Configure Splash vhost
  rabbitmq_vhost:
    name: "{{ mq_splash_vhost }}"
    state: present

- name: MQ Add Splash service user
  rabbitmq_user:
    user: "{{ mq_splash_username }}"
    password: "{{ mq_splash_password }}"
    vhost: "{{ mq_splash_vhost}}"
    configure_priv: .*
    read_priv: .*
    write_priv: .*
    state: present

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
prometheus-splash-0.4.5 templates/ansible-splash/roles/mq/tasks/main.yml
prometheus-splash-0.4.4 templates/ansible-splash/roles/mq/tasks/main.yml