WARNING: The OnlyOffice integration appears to be broken at this time.
To install the OnlyOffice document-editing services, enable it like this in your configuration file (inventory/host_vars/<your-domain>/vars.yml
).
nextcloud_onlyoffice_document_server_enabled: true
If you had already installed Nextcloud, you'll need to re-run the installation procedure and restart the services.
In any case, once Nextcloud is fully installed (don't forget that there are some manual steps after installing with the playbook), you can also install and configure the OnlyOffice app for Nextcloud by running this command:
ansible-playbook -i inventory/hosts setup.yml --tags=setup-onlyoffice-app
The above only does basic configuration, hooking your OnlyOffice document server with Nextcloud. The OnlyOffice app for Nextcloud supports additional options, which you can configure manually from: Administration Settings -> ONLYOFFICE.