{"id":25175067,"url":"https://github.com/mediafellows/ansible-role-nextcloud","last_synced_at":"2026-05-18T14:03:47.713Z","repository":{"id":114546414,"uuid":"276897544","full_name":"mediafellows/ansible-role-nextcloud","owner":"mediafellows","description":"Ansible Role to setup Nextcloud with PHP (not installing DBs etc)","archived":false,"fork":false,"pushed_at":"2025-07-07T14:25:15.000Z","size":66,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-10-28T00:38:59.388Z","etag":null,"topics":["ansible-role","nextcloud"],"latest_commit_sha":null,"homepage":"","language":"Jinja","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mediafellows.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-07-03T12:43:22.000Z","updated_at":"2025-07-07T14:25:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"fe3ea096-69e5-4e88-bb55-fb644b5dd2c5","html_url":"https://github.com/mediafellows/ansible-role-nextcloud","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mediafellows/ansible-role-nextcloud","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mediafellows%2Fansible-role-nextcloud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mediafellows%2Fansible-role-nextcloud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mediafellows%2Fansible-role-nextcloud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mediafellows%2Fansible-role-nextcloud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mediafellows","download_url":"https://codeload.github.com/mediafellows/ansible-role-nextcloud/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mediafellows%2Fansible-role-nextcloud/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33180310,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"ssl_error","status_checked_at":"2026-05-18T09:27:28.300Z","response_time":71,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible-role","nextcloud"],"created_at":"2025-02-09T12:28:45.344Z","updated_at":"2026-05-18T14:03:47.684Z","avatar_url":"https://github.com/mediafellows.png","language":"Jinja","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Ansible-Test](https://github.com/mediafellows/ansible-role-nextcloud/actions/workflows/ansible_test.yml/badge.svg)](https://github.com/mediafellows/ansible-role-nextcloud/actions/workflows/ansible_test.yml)\n\n# Ansible Role for Nextcloud Server setup\n\nAnsible Role that sets up Nextcloud with Nginx and PHP on an Ubuntu/Debian server. Designed to not handle DB install and HTTPS setup. So this role is uesefull when running \nbehind a Loabalancer that takes care of HTTPs termination already. Also if you want to run your DB on another host, this role doesn't preinstall a DB for you.\n\nIf you want to setup a DB on that host just use another Ansible role for Postgres or MySQL. For example there is [mediafellows.postgresql](https://github.com/mediafellows/ansible-role-postgresql).\n\nThis role installs PHP dependencies and  installs the PHP runner FastCGI Process Manager ([FPM](https://www.php.net/manual/de/install.fpm.php)).\nIt also utilizes [mediafellows.nginx](https://github.com/mediafellows/ansible-role-nginx) role for installing Ngxinx as a Websterver.\n\n## Requirements\n\nLinux Distribution with apt package manager. Ideally newer versions (like Ubuntu 18.04) that provide php7.2 as part of their repos.\n\n## Role Variables\n\nRole variables that make sense to override to your needs (shows default settings here):\n\n- `nextcloud_version: 31.0.5` - Nextcloud version to install, pick one that can be downloaded from download server already\n- `nextcloud_php_version: 8.4` - PHP version to install\n- `nextcloud_db_type: pgsql` - DB type to use for Nextcloud. Either 'mysql', 'pgsql' (for Postgres) or 'sqlite' (untested).\n- `nextcloud_db_user: nextcloud` - User for connecting to DB\n- `nextcloud_db_pass: 1231231` - PW for DB access\n- `nextcloud_install_dir: /opt/nextcloud` - Install dir where Nextcloud will be unpacked\n- `nextcloud_initial_user_name: admin` - Set username for initial admin user\n- `nextcloud_initial_user_pw: 'foobar'` - Set PW for initial admin user for your Nextcloud setup (for first login)\n\nFind more variables in defaults/main.yml\n\n## Dependencies\n\nDepends on the mediafellows.nginx role for setting up the Webserver:\n\n- [mediafellows.nginx](https://github.com/mediafellows/ansible-role-nginx)\n\n## Example Playbook\n\nExample playbook integration\n\n```yaml\n- name: Install Nextcloud\n  hosts: nextcloud_hosts\n  become: true\n  vars:\n    nextcloud_version: 31.0.5\n    nextcloud_install_dir: /opt/nextcloud/\n    nextcloud_initial_user_name: admin\n    nextcloud_initial_user_pw: abc123abc\n    nextcloud_db_pass: 'nextcloud-db-pw'\n  roles:\n    - mediafellows.nextcloud\n```\n\n## License\n\nBSD\n\n## Author Information\n\nStefan Horning \u003cstefan.horning@mediafellows.com\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmediafellows%2Fansible-role-nextcloud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmediafellows%2Fansible-role-nextcloud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmediafellows%2Fansible-role-nextcloud/lists"}