Skip to content

Commit 2067cb6

Browse files
committed
The command ran by community.rabbitmq.rabbitmq_vhost must run as root
1 parent 8bfe90e commit 2067cb6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tasks/rabbitmq_vhosts.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
rabbitmq_vhost:
44
name: "{{ item['name'] }}"
55
state: "{{ item['state'] }}"
6+
become: true
67
with_items: "{{ rabbitmq_extra_vhosts }}"
78
run_once: "{{ rabbitmq_enable_clustering is defined and rabbitmq_enable_clustering }}"
89
register: rabbitmq_created_vhosts

0 commit comments

Comments
 (0)