forked from data.coop/ansible
18 lines
416 B
YAML
18 lines
416 B
YAML
|
# vim: ft=yaml.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"
|