add nextcloud stack

This commit is contained in:
Pim Kunis 2023-05-04 21:06:43 +02:00
parent c56840a1ba
commit 8611f928ad
4 changed files with 73 additions and 0 deletions

View file

@ -0,0 +1,15 @@
- 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