-
-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(feature request) Adding tasks to set up cluster configuration in the RabbitMQ role #119
Comments
Thanks for the feature request! And while it may take a lot of time to implement it, - all dependent services we have like RabbitMQ, Mongo, PostgreSQL could have a lot of advanced configuration to handle. But for now I'd suggest alternative approach. All we need now is to add respective Resulting play may look this way: ---
- name: Configure RabbitMQ cluster
hosts: rabbitmq-cluster
roles:
# See: https://github.com/alexey-medvedchikov/ansible-rabbitmq
- alexeymedvedchikov.rabbitmq
vars:
rabbitmq_create_cluster: yes
rabbitmq_erlang_cookie: st2-mq
rabbitmq_users:
- user: st2
password: st2
vhost: /
configure_priv: .*
read_priv: .*
write_priv: .*
tags: st2
- name: Install StackStorm
hosts: st2
roles:
- name: Install and Configure `st2` itself
role: st2
vars:
st2_messaging_url: "amqp://st2:st2@rabbitmq-cluster001:5672//"
- st2mistral
- st2web
- st2smoketests Just for reference I found external Ansible Galaxy role Approach like that with external rabbitmq cluster would be fast to do & efficient and I'd suggest to follow that way, but if you prefer long-term, - I'm fine with contributions too 👍 |
cc @bigmstone I remember you was interested in deploying entire StackStorm in HA way internally. |
Thank you for your reply. I agree with you. So I'll close #120, then seek a playbook that suits the following requirements.
After that, I think I'll write a test for it. |
Thought I would also chime in here and share an already available RabbitMQ Ansible role of mine which also provides HA. I would also be interested in helping out in anyway possible as well. |
This is a much-needed project for us. I want to build StackStorm in production environment with this.
The current tasks in the RabbitMQ role just only install package and start service.
But the RabbitMQ servers that I expect are set up a cluster configuration.
I want some tasks to set up cluster configuration in the RabbitMQ role.
Thank you.
The text was updated successfully, but these errors were encountered: