This role installs a ownCloud instance on a specified host, either with SQLite, MySQL, MariaDB or PostgreSQL database as a backend and an nginx webserver as a frontend.

ownCloud will be installed as package coming directly from upstream.

Note that Nginx is not officially supported by ownCloud nor NextCloud but it is community supported and should work without problems. Apache is supported by the role but not yet used by default.


  • LDAP setup.
  • In memory caching using Redis for file locking and APCu.
  • ownCloud theming support.
  • Extensive configuration options via Ansible’s inventory.
  • Fully automated ownCloud security updates. Not yet enabled by default.


This role requires at least Ansible v2.1.4. To install it, run:

ansible-galaxy install debops.owncloud