Coder Social home page Coder Social logo

ansible-role-apache-solr's Introduction

apache-solr

Role to install Apache Solr 5.4.0+.

By default the role will download the file specified in defaults/main.yml by apache_solr.download_url Currently the role excpects the download_url to end with solr-X.Y.Z.tgz (where X.Y.Z is the version).

The role will install Solr using the included script (bin/install_solr_service.sh) inside the archive using only the defaults.

Defaults:

 Solr installation dir (solr.install.dir): /opt/solr
 Solr home dir (solr.solr.home):           /var/solr/data
 Environment overrides include file:       /etc/default/solr.in.sh

Role Variables

defaults/main.yml

apache_solr:
 download_url: http://archive.apache.org/dist/lucene/solr/5.4.0/solr-5.4.0.tgz
 java: openjdk-7-jdk

apache_solr_log4j: log4j.properties.j2
apache_solr_env: Debian/solr-5.4.0.in.sh.j2

NOTES: Java - you can comment apache_solr.java if you manage Java outside of this role.

       apache_solr_log4j and apache_solr_env can be relative or full path to the actual files
       to be copied to remote.

Example Playbook

- hosts: us-east-1b-prod-search
  roles:
   - apache-solr

License

MIT

Author Information

Tal Lannder

[email protected]

ansible-role-apache-solr's People

Contributors

kagux avatar onlyloveoleg avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.