nkakouros-original / ansible-role-nextcloud

An Ansible role to install Nextcloud
GNU General Public License v3.0
11 stars 5 forks source link
ansible ansible-playbook ansible-role nextcloud

Build Status Galaxy

Ansible Role: Nextcloud

Installs and upgrades Nextcloud and apps. It only does that, it does not install a web server, a db server, etc.

Features

This role allows you to:

Requirements

Ansible >= 2.7

While there are a bunch of other roles around to install Nextcloud, I did not found them useful as they try to do everything in one role, ie setup Apache, then MySQL, then install Nextcloud, etc. This might be useful for users who want to have a Nextcloud instance running as fast as possible. However, I find the approach too limiting as there are too many assumptions taking place.

This role does not care where you install Nextcloud. It only downloads, installs and configures Nextcloud itself. Its aim is to be used in a modular way alongside other roles. (Or at least it tries to make no assumptions. If you find any or cannot install nextcloud due to missing functionality, please open an issue or a PR. Currently it has been tested only on Ubuntu 16.04).

See the Example playbook on how a complete playbook that uses 3rd-party roles might look like.

The python listparser module should be installed if you want to import feeds into the News app from an opml file. E.g.:

pip install listaprser

Versions

For this above reasons, role releases will have names such as v14-2.7-1.0, where:

The above release will of course also be compatible with later Ansible versions that are compatible with Ansible 2.7.

Role Variables

See defaults/main.yml for a full list of variables together with documentation on how to use them to configure this role.

Example Playbook

See molecule/default/prepare.yml and molecule/default/playbook.yml for a working example of how to use this role in conjuction with other roles to get a complete server environment that runs Nextcloud.

License

GPLv3

Author Information

Nikolaos Kakouros