aboutsummaryrefslogtreecommitdiffhomepage
path: root/tasks/rabbitmq_vhosts.yml
diff options
context:
space:
mode:
Diffstat (limited to 'tasks/rabbitmq_vhosts.yml')
-rw-r--r--tasks/rabbitmq_vhosts.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/tasks/rabbitmq_vhosts.yml b/tasks/rabbitmq_vhosts.yml
new file mode 100644
index 0000000..790ac18
--- /dev/null
+++ b/tasks/rabbitmq_vhosts.yml
@@ -0,0 +1,7 @@
1---
2- name: Create vhosts
3 rabbitmq_vhost:
4 name: "{{ item['name'] }}"
5 state: "{{ item['state'] }}"
6 with_items: "{{ rabbitmq_extra_vhosts }}"
7 run_once: "{{ rabbitmq_enable_clustering is defined and rabbitmq_enable_clustering }}"