38 lines
1 KiB
Markdown
38 lines
1 KiB
Markdown
= Nextcoloud Appliance
|
|
|
|
== Server setup
|
|
|
|
Copy your ssh key to the server for the root user
|
|
|
|
```
|
|
workstation $ ssh-copy-id root@server_ip
|
|
```
|
|
|
|
== Ansible Playbooks
|
|
|
|
Use the ansible playbooks to setup the nextcloud appliance
|
|
|
|
```
|
|
workstation $ ansible-playbook -i inventory_source, ansible/nextcloud_bootstrap.yaml
|
|
|
|
```
|
|
|
|
Debian 10 needs the Python interpreter setup by setting `-e ansible_python_interpreter=/usr/bin/python3` or in the inventory file.
|
|
|
|
This example runs the playbook with debugging information, for a specific host, and the Python interpreter.
|
|
|
|
```
|
|
workstation $ ansible-playbook -vvv -u root -i 192.168.1.112, -e ansible_python_interpreter=/usr/bin/python3 nextcloud_appliance.yaml
|
|
```
|
|
|
|
|
|
=== Parameters
|
|
|
|
There are multiple variables that can be set to customize the nextcloud installation.
|
|
|
|
* *To set the Nextcloud instance domain name set the `nextcloud_domain_name` variable*
|
|
|
|
```
|
|
workstation $ ansible-playbook -vvv -u root -i 192.168.1.112, -e nextcloud_domain_name="nextcloud.example.com" nextcloud_appliance.yaml
|
|
```
|
|
|