{"id":24440665,"url":"https://github.com/mivek/ansible-role-nextcloud","last_synced_at":"2026-05-10T07:55:29.974Z","repository":{"id":46194392,"uuid":"422909657","full_name":"mivek/ansible-role-nextcloud","owner":"mivek","description":"Ansible role to install and configure nextcloud","archived":false,"fork":false,"pushed_at":"2021-11-08T09:58:11.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-14T01:46:56.085Z","etag":null,"topics":["ansible","ansible-role","nextcloud","nextcloud-installation","nextcloud-server"],"latest_commit_sha":null,"homepage":"https://galaxy.ansible.com/mivek/nextcloud","language":"Jinja","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mivek.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"ko_fi":"mivek"}},"created_at":"2021-10-30T14:51:02.000Z","updated_at":"2021-11-08T09:56:56.000Z","dependencies_parsed_at":"2022-09-08T11:30:42.527Z","dependency_job_id":null,"html_url":"https://github.com/mivek/ansible-role-nextcloud","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/mivek/ansible-role-nextcloud","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mivek%2Fansible-role-nextcloud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mivek%2Fansible-role-nextcloud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mivek%2Fansible-role-nextcloud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mivek%2Fansible-role-nextcloud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mivek","download_url":"https://codeload.github.com/mivek/ansible-role-nextcloud/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mivek%2Fansible-role-nextcloud/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001507,"owners_count":26083118,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","ansible-role","nextcloud","nextcloud-installation","nextcloud-server"],"created_at":"2025-01-20T20:56:58.650Z","updated_at":"2025-10-09T14:36:18.730Z","avatar_url":"https://github.com/mivek.png","language":"Jinja","funding_links":["https://ko-fi.com/mivek"],"categories":[],"sub_categories":[],"readme":"Nextcloud\n=========\n\nThis role installs and configures [Nextcloud](https://nextcloud.com/) on a server. This role does not install dependencies.\n\nRequirements\n------------\n\nNextcloud requires:\n- a database: MYSQL, MariaDB, PostgreSQL or SQLite\n- a webserver: Apache or Nginx with php-fpm module.\n- PHP runtime\n\nA full list of requirements is listed [here](https://docs.nextcloud.com/server/latest/admin_manual/installation/system_requirements.html). \nThe list of required PHP modules is available [here](https://docs.nextcloud.com/server/latest/admin_manual/installation/source_installation.html).\n\n\nRole Variables\n--------------\n|Name| Default value|Type|Meaning|\n|----|----|-----|-------|\n|nextcloud_version| 22.2.0| String| The version of nextcloud to install.\n|nextcloud_webserver_user| www-data | string | The webserver user this user must have access to the php command.\n|nextcloud_webserver_group| www-data | string | The webserver group this group must have access to the php command.\n|nextcloud_server_location| /var/www | path | The path of the nextcloud server, the archive will be unarchived in this directory.\n|nextcloud_data_directory| /opt/nextcloud/data | path | This directory will hold nextcloud data files and logs.\n|nextcloud_settings | [] | List of objects | List of settings for nextcloud. A setting is composed of a name, a value and type. Default type is string.\n|nextcloud_apps| []| List | List of application to install on nextcloud.\n|nextcloud_trusted_domains| ['localhost'] | List | List of trusted domains to set.\n|nextcloud_redis| |object|Parameters to connect to a redis server. The available keys are `host`, `port`, `dbindex`, `password` and `timeout`. See [nextcloud documentation](https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/caching_configuration.html#id2)\n|nextcloud_server_web|nginx| string | The webserver nextcloud will ran on. The web server will not be installed.\n|nextcloud_server_http_server_name| | string | The domain name nextcloud can be reached. It should also be in the nextcloud_trusted_domains list.\n|nextcloud_server_http_use_https| true | boolean | Whether https should be configured and forced.\n|nextcloud_server_http_certificate| | path | The path to the certificate\n|nextcloud_server_http_certificate_key| | path | The path to the certificate key\n|nextcloud_nginx_template| nginx.conf.j2 | path | When the nextcloud_server_web is nginx, the path to the nginx template to use.\n|nextcloud_nginx_configuration| /etc/nginx/conf.d/nextcloud.conf | path | The path where the nextcloud nginx configuration should be deployed.\n|nextcloud_database |  | Object | Object to represent the database. The accepted keys are `type`, `host`, `name`, `user` and password. The accepted values for the type are: mysql, pgsql, sqlite and oci\n|nextcloud_admin| | string | Name of the admin of the nextcloud server\n|nextcloud_admin_password| | string | Password of the admin of the nextcloud server\n|nextcloud_apps_settings| [] | List of objects | List of settings for nextcloud applications. A setting is compose of the `app_name`, the `setting_name`, the `value` and the `type`.\n|nextcloud_php_executable| php | string | The PHP executable to use when running commands.\n|nextcloud_backup_directory|  | path | Path of the directory that will store backups.\n|nextcloud_backup_cron|  | Object | Object to configure the backup script cron. The keys are `minute`, `hour`, `day`, `month` and `weekday`.\n\nDependencies\n------------\n\nNone.\n\nExample Playbook\n----------------\n\nA complete example of a full installation with a webserver and a database is available in the [molecule](/molecule/default) directory.\nIt installs nginx, PHP, PostgreSQL and redis before running the role.\nA valid inventory is available [here](molecule/default/inventory/host_vars/instance.yml)\n\nLicense\n-------\n\nBSD\n\nAuthor Information\n------------------\n\n[GitHub](https://github.com/mivek)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmivek%2Fansible-role-nextcloud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmivek%2Fansible-role-nextcloud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmivek%2Fansible-role-nextcloud/lists"}