{"id":21163521,"url":"https://github.com/punktde/ansible-proserver-solr","last_synced_at":"2025-03-14T16:27:43.839Z","repository":{"id":139102598,"uuid":"201064714","full_name":"punktDe/ansible-proserver-solr","owner":"punktDe","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-27T08:41:49.000Z","size":47,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-01-21T09:48:47.139Z","etag":null,"topics":["ansible","apache-solr","proserver"],"latest_commit_sha":null,"homepage":"","language":"Jinja","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/punktDe.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}},"created_at":"2019-08-07T14:16:23.000Z","updated_at":"2024-11-27T08:41:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"a50471c7-fc42-423c-8605-0d7b367919f6","html_url":"https://github.com/punktDe/ansible-proserver-solr","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/punktDe%2Fansible-proserver-solr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/punktDe%2Fansible-proserver-solr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/punktDe%2Fansible-proserver-solr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/punktDe%2Fansible-proserver-solr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/punktDe","download_url":"https://codeload.github.com/punktDe/ansible-proserver-solr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243609255,"owners_count":20318761,"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","apache-solr","proserver"],"created_at":"2024-11-20T13:48:17.963Z","updated_at":"2025-03-14T16:27:43.440Z","avatar_url":"https://github.com/punktDe.png","language":"Jinja","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ansible-proserver-solr\n\nAn Ansible role that sets up Apache Solr and Apache Tika on a Proserver\n\nDownloads the defined versions of Solr and Tika from [archive.apache.org](https://archive.apache.org) and enables their respective services.\n\n## Dependencies\n* [ansible-proserver-oauth2-proxy](https://github.com/punktDe/ansible-proserver-oauth2-proxy)\n* [ansible-proserver-nginx](https://github.com/punktDe/ansible-proserver-nginx) or [ansible-proserver-apache](https://github.com/punktDe/ansible-proserver-apache)\n* [ansible-proserver-dehydrated](https://github.com/punktDe/ansible-proserver-dehydrated)\n* [ansible-proserver-supervisord](https://github.com/punktDe/ansible-proserver-supervisord)\n\n## Background\n\nThis role deactivates the built-in FreeBSD rc.d services for Solr and Tika and does not interfere with their respective working directories (/var/solr, /var/solr/db, etc.).\n\nInstead, it uses [supervisord](https://github.com/punktDe/ansible-proserver-supervisord) for service management, and works with the following folders:\n\n|Directory|Description|\n|---|---|\n|/var/opt/solr/solr|Solr working directory|\n|/var/opt/solr/home|Solr home|\n|/var/opt/solr/tika|Tika working directory|\n|/var/log/solr-ansible|Solr and Tika Logs|\n\n## Configuration\n\nThe default configuration values can be found in defaults/main.yaml\n\n### solr.url\n**Default**: empty\n\nThe URL for the Solr WebUI\n```yaml\nsolr:\n  url: https://solr.example.com\n```\n\n### solr.oauth2_proxy\n**Default**: empty\n\nThe oauth2_proxy configuration that should be used for Solr WebUI authentiacation.\n\nShould be defined under `oauth2_proxy.$configuration` e.g. `oauth2_proxy.main` or `oauth2_proxy.solr`\n\nIf empty, the WebUI will be publicly available, with no authentication.\n```yaml\nsolr:\n  oauth2_proxy: main\n```\n\n### solr.overwrite_home\n**Default**: no\n\nIf enabled, will erase the Solr home directory (default: /var/opt/solr/home) on version change.\n\n**Use with caution** – this will also remove all your cores and custom configurations for them.\n\n```yaml\nsolr:\n  overwrite_home: yes\n```\n\nIf disabled, it will still handle the `solr.xml` as followed:\n\nIn case `solr.version` is **older than 9.x**, it will comment out the following parameters in your `solr.xml`:\n\n* allowUrls\n* modules\n* zkCredentialsInjector\n* distributedClusterStateUpdates\n* distributedCollectionConfigSetExecution\n* minStateByteLenForCompression\n* stateCompressor\n* hideStackTrace\n\nThese configuration parameters are present in the default `solr.xml` file shipped with 9.x, but are incompatible with versions 8.x and older.\n\nThe commented out lines are marked with the text `disabled by Ansible`.\n\nIn case `solr.version` is 9.x or newer, the role will uncomment all config lines that contain the text `disabled by Ansible`.\n\n### solr.prefix\nThe directories for Solr and Tika\n```yaml\nsolr:\n  prefix:\n    bin: /var/opt/solr/solr\n    home: /var/opt/solr/home\n    tika: /var/opt/solr/tika\n    logs: /var/log/solr-ansible\n```\n\n### solr.version\nSolr version to install. Make sure the version exists on either https://archive.apache.org/dist/lucene/solr/ (pre 9.x) or https://archive.apache.org/dist/solr/solr/ (9.x)\n```yaml\nsolr:\n  version: 9.7.0\n```\n\n### solr.tika.version\nTika version to install. Make sure the version exists on https://archive.apache.org/dist/tika\n```yaml\nsolr:\n  tika:\n    version: 3.0.0\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpunktde%2Fansible-proserver-solr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpunktde%2Fansible-proserver-solr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpunktde%2Fansible-proserver-solr/lists"}