mirror of
https://github.com/rocky-linux/ansible-role-rabbitmq.git
synced 2025-01-10 01:41:00 +00:00
14 lines
372 B
YAML
14 lines
372 B
YAML
|
---
|
||
|
# Creates a user account in RabbitMQ
|
||
|
# This is used as a template for repeated tasks in the role
|
||
|
- name: "Creating User Account {{ username }}"
|
||
|
community.rabbitmq.rabbitmq_user:
|
||
|
user: "{{ username }}"
|
||
|
vhost: "{{ vhost|default('/pubsub') }}"
|
||
|
read_priv: "^$"
|
||
|
write_priv: "amq\\.topic"
|
||
|
configure_priv: "^$"
|
||
|
state: present
|
||
|
tags:
|
||
|
- rabbitmq
|