-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #386 from vladgh:stack
Add README for docker compose stack role
- Loading branch information
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }}" | ||
``` |