{"id":15136313,"url":"https://github.com/bodsch/ansible-nextcloud","last_synced_at":"2025-03-29T04:31:19.811Z","repository":{"id":199180914,"uuid":"676506775","full_name":"bodsch/ansible-nextcloud","owner":"bodsch","description":"Ansible role to install and configure nextcloud","archived":true,"fork":false,"pushed_at":"2024-12-01T01:24:25.000Z","size":165,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-12T08:37:04.625Z","etag":null,"topics":["ansible","ansible-role","automation","nextcloud","nextcloud-server"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bodsch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","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}},"created_at":"2023-08-09T11:02:07.000Z","updated_at":"2024-12-01T01:25:52.000Z","dependencies_parsed_at":"2024-01-19T11:35:16.578Z","dependency_job_id":"b636faa2-90bb-476b-890f-5aacbfe143a4","html_url":"https://github.com/bodsch/ansible-nextcloud","commit_stats":{"total_commits":64,"total_committers":1,"mean_commits":64.0,"dds":0.0,"last_synced_commit":"398c3b0f7945e67d7b925df5307e7ab698d0c7ca"},"previous_names":["bodsch/ansible-nextcloud"],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bodsch%2Fansible-nextcloud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bodsch%2Fansible-nextcloud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bodsch%2Fansible-nextcloud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bodsch%2Fansible-nextcloud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bodsch","download_url":"https://codeload.github.com/bodsch/ansible-nextcloud/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246140565,"owners_count":20729797,"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","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","automation","nextcloud","nextcloud-server"],"created_at":"2024-09-26T06:20:31.643Z","updated_at":"2025-03-29T04:31:19.783Z","avatar_url":"https://github.com/bodsch.png","language":"Python","readme":" \n# Ansible Role:  `nextcloud`\n\nAnsible role to install and configure nextcloud.\n\n---\n\n\u003e I am in the process of transferring this role to a [collection](https://github.com/bodsch/ansible-collection-cloud) and will therefore no longer process any issues or merge requests here.  \n\u003e However, I will include them in the collection!  \n\u003e **Please be patient until I have completed the work!**\n\n---\n\n[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/bodsch/ansible-nextcloud/main.yml?branch=main)][ci]\n[![GitHub issues](https://img.shields.io/github/issues/bodsch/ansible-nextcloud)][issues]\n[![GitHub release (latest by date)](https://img.shields.io/github/v/release/bodsch/ansible-nextcloud)][releases]\n[![Ansible Downloads](https://img.shields.io/ansible/role/d/bodsch/nextcloud?logo=ansible)][galaxy]\n\n[ci]: https://github.com/bodsch/ansible-nextcloud/actions\n[issues]: https://github.com/bodsch/ansible-nextcloud/issues?q=is%3Aopen+is%3Aissue\n[releases]: https://github.com/bodsch/ansible-nextcloud/releases\n[galaxy]: https://galaxy.ansible.com/ui/standalone/roles/bodsch/nextcloud/\n\n\n## Requirements \u0026 Dependencies\n\nAnsible Collections\n\n- [bodsch.core](https://github.com/bodsch/ansible-collection-core)\n\n```bash\nansible-galaxy collection install bodsch.core\n```\nor\n```bash\nansible-galaxy collection install --requirements-file collections.yml\n```\n\n## usage\n\n```yaml\nnextcloud_version: 26.0.5\n\n# switch between\n# releases      : https://download.nextcloud.com/server/releases/nextcloud-28.0.1.zip\n# prereleases   : https://download.nextcloud.com/server/prereleases/nextcloud-28.0.2rc1.zip\n# daily         : https://download.nextcloud.com/server/daily/nextcloud-28-daily-2024-01-18.zip\n#                 https://download.nextcloud.com/server/daily/nextcloud-master-daily-2024-01-18.zip\n# default = releases\nnextcloud_release_type: releases\n\nnextcloud_direct_download: false\n\nnextcloud_release: {}\n\nnextcloud_install_base_directory: /var/www\n\nnextcloud_owner: \"\"\nnextcloud_group: \"\"\n\nnextcloud_admin:\n  username: admin\n  password: admin\n\nnextcloud_password_validation:\n  upper_and_lower_case: true\n  special_character: false\n  numeric_character: false\n  length: 10\n  \nnextcloud_instande_id: \"\"\nnextcloud_password_salt: \"\"\nnextcloud_data_directory: \"\"\n\nnextcloud_trusted_domains: []\n\nnextcloud_database:\n  type: sqlite\n  name: nextcloud\n  # username: nextcloud\n  # password:\n  # hostname:\n  # port: 3306\n  # schema: nextcloud\n  persistent: false\n\nnextcloud_defaults: {}\n  # language:\n  #   default: en\n  #   # force: en\n  # locale:\n  #   default: en_GB\n  #   # force: en_GB\n  # phone_region: DE\n  # defaultapps:\n  #   - dashboard\n  #   - files\n  # knowledgebase_enabled: true\n\nnextcloud_php_daemon:\n  restart: true\n  name: \"{{ php_fpm_daemon }}\"\n\nnextcloud_background_jobs:\n  type: cron          # alternative: webcron | ajax and systemd\n  daemon: \"\"          # \"{{ 'cron' if ansible_os_family | lower == 'debian' else 'cronie' }}\"\n  state: enabled      # ['enabled', 'disabled']\n  cron:\n    minute: \"\"        # '*/5'\n    hour: \"\"          # '*'\n    weekday: \"\"       # '*'\n```\n\n### `nextcloud_admin`\n\n```yaml\nnextcloud_admin:\n  username: admin\n  password: admin\n```\n\n### `nextcloud_trusted_domains`\n\n```yaml\nnextcloud_trusted_domains:\n  - nextcloud.molecule.lan\n  - nextcloud.molecule.local\n```\n\n### `nextcloud_database`\n\n```yaml\nnextcloud_database:\n  type: sqlite\n  name: nextcloud\n  # username: nextcloud\n  # password:\n  # hostname:\n  # port: 3306\n  # schema: nextcloud\n  persistent: false\n```\n\n### `nextcloud_defaults`\n\n```yaml\nnextcloud_defaults:\n  # language:\n  #   default: en\n  #   # force: en\n  # locale:\n  #   default: en_GB\n  #   # force: en_GB\n  # phone_region: DE\n  # defaultapps:\n  #   - dashboard\n  #   - files\n  # knowledgebase_enabled: true\n```\n\n### `nextcloud_background_jobs`\n\nTo create the Background Job.\n\n| Variable       | default    | Description |\n| :---           | :----      | :----       |\n| `type`         | `webcron`  | alternative: `cron`, `webcron`, `ajax`.\u003cbr\u003esystemd User can create an system timer with `systemd` insteed `cron` |\n| `daemon`       | ` `        | the named cron package (Will be installed) |\n| `enabled`      | `false`    | enable cron Background Jobs.    |\n| `cron.minute`  | `*/5`      | cron configuration: *minute*    |\n| `cron.hour`    | `*`        | cron configuration: *hour*      |\n| `cron.weekday` | `*`        | cron configuration: *weekday*   |\n\n```yaml\nnextcloud_background_jobs:\n  type: cron\n  daemon: \"\"\n  enabled: false\n  cron:\n    minute: \"\"\n    hour: \"\"\n    weekday: \"\"\n```\n\n### `nextcloud_groups`\n\nCreates Groups in Nextcloud.\n\n| Variable       | default    | Description |\n| :---           | :----      | :----       |\n| `name`         | `webcron`  | Group name |\n| `display_name` | ` `        | Group name used in the web UI (can contain any characters) |\n| `state`        | `present`  | State of the Group (`present` or `absent`) |\n\n```yaml\nnextcloud_groups:\n  - name: test\n    display_name: \"Testing with spaces\"\n    state: present\n  - name: test2\n    state: absent\n```\n\n### `nextcloud_users`\n\nCreates Users in Nextcloud.\n\n| Variable        | default    | Description |\n| :---            | :----      | :----       |\n| `name`          | ` `        | User name |\n| `state`         | `present`  | State of the User (`present` or `absent`) |\n| `display_name`  | ` `        | User name used in the web UI (can contain any characters) |\n| `password`      | ` `        | User password |\n| `resetpassword` | ` `        | reset the passsword (**every time the playbook is run!**) |\n| `groups`        | `[]`       | A list of groups to which the user should be added.\u003cbr\u003eGroups that do not exist are ignored. |\n| `settings`      | ``         | *TODO* |\n\n\n```yaml\nnextcloud_users:\n  - name: bodsch\n    password: \"{{ vault__users.bodsch }}\"\n    display_name: Bod Sch\n    groups:\n      - test\n```\n\n### `nextcloud_apps`\n\nInstall Nextcloud Apps.\n\n| Variable        | default    | Description |\n| :---            | :----      | :----       |\n| `name`          | ` `        | App name |\n| `state`         | `present`  | State of the App (`present`, `absent`, `enabled` or `disabled` ) |\n| `settings`      | `{}`       | Dictionary of Application Settings |\n\n```yaml\nnextcloud_apps:\n  - name: calendar\n    state: disabled\n  - name: richdocuments\n    state: disabled\n    settings:\n      canonical_webroot: https://office.molecule.lan\n      disable_certificate_verification: true\n      edit_groups: \"admin\"\n      public_wopi_url: https://office.molecule.lan\n      use_groups: \"admin\"\n      wopi_allowlist: \"127.0.0.1/32\"\n      wopi_url: https://office.molecule.lan\n```\n\n---\n\n## Contribution\n\nPlease read [Contribution](CONTRIBUTING.md)\n\n## Development,  Branches (Git Tags)\n\nThe `master` Branch is my *Working Horse* includes the \"latest, hot shit\" and can be complete broken!\n\nIf you want to use something stable, please use a [Tagged Version](https://github.com/bodsch/ansible-nextcloud/-/tags)!\n\n---\n\n## Author and License\n\n- Bodo Schulz\n\n## License\n\n[Apache](LICENSE)\n\n**FREE SOFTWARE, HELL YEAH!**\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbodsch%2Fansible-nextcloud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbodsch%2Fansible-nextcloud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbodsch%2Fansible-nextcloud/lists"}