lemur/nextcloud/README.md

39 lines
1 KiB
Markdown
Raw Normal View History

= 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
```
2021-08-26 19:26:01 -05:00
workstation $ ansible-playbook -i inventory_source, ansible/nextcloud_bootstrap.yaml
2021-08-31 02:24:10 -05:00
```
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
```
2021-08-31 02:54:48 -05:00
=== 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
```