17 lines
402 B
YAML
17 lines
402 B
YAML
# Install a docker based rabbitMQ.
|
|
---
|
|
- include: ../common/tasks/docker.yml
|
|
- name: install service file.
|
|
template:
|
|
src: files/rabbitmq.service
|
|
dest: /etc/systemd/system/rabbitmq.service
|
|
mode: 644
|
|
owner: root
|
|
group: root
|
|
- name: install service file
|
|
command: systemctl daemon-reload
|
|
- name: make sure service is started
|
|
systemd:
|
|
name: rabbitmq.service
|
|
state: started
|