Setup rabbitmq
Need ansible 2+
rabbitmq_vhost:
- name: vhost1
node: node_name # Optional, defaults to "rabbit"
tracing: yes # Optional, defaults to "no"
rabbitmq_users:
- vhost: vhost1
user: user1
password: password1
node: node_name # Optional, defaults to "rabbit"
configure_priv: "^resource.*" # Optional, defaults to ".*"
read_priv: "^$" # Disallow reading.
write_priv: "^$" # Disallow writing.
- vhost: vhost1
user: user2
password: password2
force: no
tags: # Optional, user tags
- administrator
There is no dependency
- hosts: servers
roles:
- { role: SimpliField.rabbitmq }
BSD