Rabbit MQ - needed for barker
This commit is contained in:
tanshu committed 2020-10-17 12:28:36 +05:30
1 parent 426bd8e82a
commit 5c22100376
5 files changed
+95

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
#################################################
# DO Community Playbooks: Docker
#################################################
---
- hosts: all
become: true
vars_files:
- vars/default.yml
tasks:
- name: Pull default RabbitMQ image
docker_image:
name: "{{ image_name }}"
source: pull
- name: Create RabbitMQ container
docker_container:
name: "{{ container_name }}"
image: "{{ image_name }}"
state: started
restart_policy: "unless-stopped"
published_ports:
- 5672:5672