19 lines
441 B
YAML
19 lines
441 B
YAML
# vim: ft=yaml.ansible
|
|
# code: language=ansible
|
|
---
|
|
- name: Create subfolders
|
|
file:
|
|
path: "{{ services.nextcloud.volume_folder }}/{{ volume }}"
|
|
state: directory
|
|
loop:
|
|
- app
|
|
- postgres
|
|
loop_control:
|
|
loop_var: volume
|
|
|
|
- name: Upload vhost config for Nextcloud domain
|
|
copy:
|
|
src: vhost/nextcloud
|
|
dest: "{{ services.nginx_proxy.volume_folder }}/vhost/{{ services.nextcloud.domain }}"
|
|
notify: "restart nginx"
|