You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
987 B
Markdown
33 lines
987 B
Markdown
```yml
|
|
- name: "Install nextcloud"
|
|
hosts: czynna1
|
|
vars:
|
|
domain: "cloud.strona-czynna.pl"
|
|
nextcloud_admin_port: 8342
|
|
nextcloud_ui_port: 8343
|
|
nextcloud_file_storage_path: /mnt/juice/nextcloud
|
|
nextcloud_workdir: /var/www/nextcloud
|
|
nextcloud_domain: "{{ domain }}"
|
|
roles:
|
|
- role: nextcloud
|
|
tags:
|
|
- nextcloud
|
|
- role: sealcode.nginx.proxies
|
|
tags:
|
|
- nextcloud
|
|
vars:
|
|
- nginx_proxies:
|
|
- domain: "cloud-admin.strona-czynna.pl"
|
|
site_name: "nextcloud-admin"
|
|
upstream: "https://127.0.0.1:{{nextcloud_admin_port}}"
|
|
auth_enabled: true
|
|
auth_message: "Please log in"
|
|
auth_user: "admin"
|
|
auth_password: password
|
|
- domain: "{{ domain }}"
|
|
site_name: "nextcloud"
|
|
upstream: "http://127.0.0.1:{{nextcloud_ui_port}}"
|
|
max_upload_size: "32G"
|
|
disable_ratelimit: true
|
|
```
|