forked from data.coop/ansible
19 lines
526 B
YAML
19 lines
526 B
YAML
# vim: ft=yaml.ansible
|
|
---
|
|
- name: upload vhost config for cloud.data.coop
|
|
copy:
|
|
src: vhost/nextcloud
|
|
dest: "{{ services.nginx_proxy.volume_folder }}/vhost/{{ services.nextcloud.domain }}"
|
|
notify: "restart nginx"
|
|
|
|
- name: Upload Compose file for Nextcloud
|
|
template:
|
|
src: compose-files/nextcloud.yml.j2
|
|
dest: "{{ services.nextcloud.volume_folder }}/docker-compose.yml"
|
|
|
|
- name: Deploy Nextcloud
|
|
docker_compose:
|
|
project_src: "{{ services.nextcloud.volume_folder }}"
|
|
pull: true
|
|
state: present
|