15 lines
334 B
YAML
15 lines
334 B
YAML
- name: Create working directory
|
|
file:
|
|
path: /srv/inbucket
|
|
state: directory
|
|
|
|
- name: Copy Docker stack file
|
|
template:
|
|
src: "{{ role_path }}/docker-stack.yml.j2"
|
|
dest: /srv/inbucket/docker-stack.yml
|
|
|
|
- name: Deploy Docker stack
|
|
docker_stack:
|
|
name: inbucket
|
|
compose:
|
|
- /srv/inbucket/docker-stack.yml
|