diff --git a/roles/rabbit/queue/tasks/main.yml b/roles/rabbit/queue/tasks/main.yml index b027732155..5e419b2791 100644 --- a/roles/rabbit/queue/tasks/main.yml +++ b/roles/rabbit/queue/tasks/main.yml @@ -25,8 +25,8 @@ rabbitmq_user: user: "{{ username }}" vhost: "{{ vhost }}" - read_priv: "^(amq\.topic)|{{ username }}.*)$" # Read from queues prefixed with their name and from the exchange - write_priv: "amq\.topic" # Publish to the topic exchange + read_priv: "^(amq\\.topic)|{{ username }}.*)$" # Read from queues prefixed with their name and from the exchange + write_priv: "amq\\.topic" # Publish to the topic exchange configure_priv: "^$" # No configuration permissions state: present