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