mirror of
https://github.com/rocky-linux/ansible-role-rabbitmq.git
synced 2025-01-09 17:30:57 +00:00
13 lines
372 B
YAML
13 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
|