lean_delivery.solr_master

Solr Configuration as Master

License Build Status Build Status Galaxy Ansible Ansible

Summary

This role:

  • Configures Solr on Centos 7, Ubuntu or Windows host to be master.

Requirements

  • Minimal Version of the ansible for installation: 2.7
  • Java 8 Build Status
  • Solr installed Build Status
  • Supported OS:
    • CentOS
      • 7
    • Ubuntu
    • Windows
      • "Windows Server 2008"
      • "Windows Server 2008 R2"
      • "Windows Server 2012"
      • "Windows Server 2012 R2"
      • "Windows Server 2016"
      • "Windows 7"
      • "Windows 8.1"
      • "Windows 10"

Prepared Windows System

Role Variables

  • solr_version - matches available version on https://archive.apache.org/dist/lucene/solr/. Tested versions 5.3-8.x

    default: 8.0.0

  • solr_dest_main_path - root directory to store solr folder

    default: /opt for Linux

    default: C:\Solr for Windows

  • solr_dest_path - solr folder path

    default: {{ dest_main_path }}/solr-{{ solr_version }}

  • solr_configset_path - solr configset folder path

    default: {{ solr_home }}/configsets for Linux

    default: {{ solr_dest_path }}\server\solr\configsets for Windows

  • solr_service_name - solr service name

    default: solr

  • solr_with_systemd - to run solr as a service

    default: True

  • configset_list - list of configset directories

    default: - default

  • auto_populate_configset_list - get all configset directories automatically

    default: True

  • solr_base_path - path to solr base

    default: /var/solr

  • solr_home - path to SOLR_HOME

    default: {{ solr_base_path }}/data

Example Inventory

[solr-master]
solr.example.com

[solrwin-master]
solrwin.example.com

[solrwin-master:vars]
ansible_user=admin
ansible_password=password
ansible_connection=winrm
ansible_winrm_server_cert_validation=ignore

Example Playbook

- name: Configure Solr as master
  hosts: solr-master
  roles:
    - role: lean_delivery.java
    - role: lean_delivery.solr_standalone
    - role: lean_delivery.solr_master

License

Apache

Author Information

authors:

About

Lean Delivery Solr configuration as master

Install
ansible-galaxy install lean_delivery.solr_master
GitHub repository
License
apache-2.0
Downloads
225
Owner
Simplify by using!