mirror of
https://github.com/CentOS/ansible-role-mbs
synced 2026-06-27 23:47:58 +08:00
start service
This commit is contained in:
@@ -17,6 +17,12 @@
|
||||
notify:
|
||||
- Restart RabbitMQ
|
||||
|
||||
- name: Start RabbitMQ
|
||||
service:
|
||||
name: rabbitmq-server
|
||||
state: started
|
||||
enabled: true
|
||||
|
||||
- name: Ensure vhost exists
|
||||
community.rabbitmq.rabbitmq_vhost:
|
||||
name: "{{ rabbitmq_vhost }}"
|
||||
|
||||
Reference in New Issue
Block a user