Files
playbooks/rabbitmq/playbook.yml
T
tanshu 4ddeba5402 Make the existing playbooks pass the new checks
Strip trailing whitespace and blank lines, name the getent tasks, and fix Jinja spacing.
2026-10-18 21:35:49 +05:30

24 lines
571 B
YAML
Executable File

#################################################
# 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