https://github.com/mariohbrino/only-office
OnlyOffice Docs Developer Edition Ansible Playbook
https://github.com/mariohbrino/only-office
ansible-playbook developer-edition onlyoffice
Last synced: 22 days ago
JSON representation
OnlyOffice Docs Developer Edition Ansible Playbook
- Host: GitHub
- URL: https://github.com/mariohbrino/only-office
- Owner: mariohbrino
- License: mit
- Created: 2021-09-29T05:26:27.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-06T18:15:58.000Z (over 3 years ago)
- Last Synced: 2024-10-11T17:08:24.555Z (6 months ago)
- Topics: ansible-playbook, developer-edition, onlyoffice
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Only Office Docs Developer Edition
Developer Edition allows you to install ONLYOFFICE Docs on your local server and integrate online editors with your web application.
[Documentation](https://helpcenter.onlyoffice.com/installation/docs-developer-install-ubuntu.aspx)
## Requirements
* Ubuntu Server 20.04
* Ansible 2.9.6## Initial settings
Define the variables on `inventory.yml` as per your needs
Change variables on `inventory.yml`
```bash
ansible_host: ''
username: ''
```Ansible connection can be set as `local` or `ssh`
```bash
ansible_connection: ''
```SSH private key file needs to be defined when using `ssh` connection
```bash
ansible_ssh_private_key_file: /path/to/your/ssh-key
```Install `ansible` in your system
```bash
sudo apt -y install ansible
```
> ansible version 2.9.6## Setup ssh config
Change ssh-key permissions
```bash
chmod 400 ~/.ssh/
```Configure ssh config file
```bash
touch ~/.ssh/config
chmod 600 ~/.ssh/config
```SSH config file sample
```bash
Host alias
HostName
User
Port 22
IdentityFile ~/.ssh/
```## Usage and information
Install only office on ubuntu server 20.04, add **flag** `-K` in case the user has a password
```bash
ansible-playbook -i inventory.yml onlyoffice.yml
```
> Access onlyoffice [localhost](http://localhost) or `hostname`### Tags
Using tags helps to define which roles will be selected or skipped
Run only tags with tags `postgres` and `onlyoffice`
```bash
ansible-playbook -i inventory.yml onlyoffice.yml --tags "postgres,onlyoffice"
```Run all tasks except those with the tags `nginx` and `redis`
```bash
ansible-playbook -i inventory.yml onlyoffice.yml --skip-tags "nginx,redis"
```## Adding license
Copy the product license to Data folder
```bash
cp ./license.lic /var/www/onlyoffice/Data
```## License
[MIT license](http://opensource.org/licenses/MIT).