computer-playbook/roles/docker-nextcloud/tasks/main.yml

26 lines
703 B
YAML

---
- name: "include docker-compose-database.yml"
include_tasks: docker-compose-database.yml
- name: "include task certbot-matomo.yml"
include_tasks: certbot-matomo.yml
- name: configure {{domain}}.conf
template:
src: "templates/nextcloud.conf.j2"
dest: "{{nginx_servers_directory}}{{domain}}.conf"
notify: restart nginx
- name: configure nginx.conf
template:
src: "templates/nginx.conf.j2"
dest: "{{path_docker_volumes}}nextcloud/nginx.conf"
notify: docker compose project setup
- name: add docker-compose.yml
template:
src: docker-compose.yml.j2
dest: "{{docker_compose_instance_directory}}docker-compose.yml"
notify: docker compose project setup