This repository has been archived on 2023-12-26. You can view files and clone it, but cannot push or open issues or pull requests.
shoarma/ansible/roles/nextcloud/tasks/main.yml
2023-05-04 21:06:43 +02:00

15 lines
331 B
YAML

- name: Create working directory
file:
path: /srv/nextcloud
state: directory
- name: Copy Docker stack file
copy:
src: "{{ role_path }}/docker-stack.yml"
dest: /srv/nextcloud/docker-stack.yml
- name: Deploy Docker stack
docker_stack:
name: nextcloud
compose:
- /srv/nextcloud/docker-stack.yml