Skip to content

Commit

Permalink
Merge pull request #386 from vladgh:stack
Browse files Browse the repository at this point in the history
Add README for docker compose stack role
  • Loading branch information
vladgh authored May 14, 2024
2 parents bd8aa34 + 5e8b91d commit b776bd8
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions roles/docker_compose_stack/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Ansible Role: MSMTP

Vlad's Ansible Role for creating Docker Compose stacks.

## Requirements

*_N/A_*

## Role Variables

Available variables are listed below, along with default values (see defaults/main.yml)

- `docker_networks`: A list of networks that need to be created before the stacks
- `docker_compose_stack`: A list of stacks and their environment variables

## Dependencies

*_N/A_*

## Example Playbook

```yaml
- hosts: all
become: true
roles:
- vladgh.system.docker_compose_stack
vars:
docker_networks:
- name: simple_stack
docker_compose_stack:
- name: stack_with_variables
env:
USER: myname
PASSWORD: "{{ vault_smtp_password }}"
```

0 comments on commit b776bd8

Please sign in to comment.