New:
Rabbit MQ - needed for barker
This commit is contained in:
1 parent
426bd8e82a
commit
5c22100376
5 files changed
+95
No files matched your search
Executable
+24
@@ -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
|
||||
|
||||
Reference in new issue
Block a user