ansible-roles/lxc-solr
Mathieu Trossevin 7c632352a0
Replace the include module with include_tasks or import_tasks
The behaviour of the `include` module is badly defined (it try to choose
between statically importing the tasks and dynamically including them)
and can cause problems depending on any number of constraints (mostly if
it choose the wrong behaviour).

Replace it with the `import_tasks` (always statically import tasks) unless
the `include` is in a loop in which case we replace it with
`include_tasks` (always dynamically include tasks).
2023-01-03 14:43:42 +01:00
..
defaults * lxc-solr : add comments 2022-09-26 23:48:05 +02:00
tasks Replace the include module with include_tasks or import_tasks 2023-01-03 14:43:42 +01:00
templates Add lxc-solr role 2019-07-02 18:11:54 +02:00
README.md Add lxc-solr role 2019-07-02 18:11:54 +02:00

lxc-solr

Create one or more LXC containers with Solr in the version of your choice.

note : this role depend on the lxc role.

Tasks

Everything is in the tasks/main.yml file.

Available variables

Since this role depend on the lxc role, please refer to it for a full variable list related to the lxc containers setup.

  • lxc_containers: list of LXC containers to create. Default: [] (empty).
    • name: name of the LXC container to create.
    • release: Debian version to install
    • solr_version: Solr version to install (refer to https://archive.apache.org/dist/lucene/solr/ for a full version list)
    • solr_port: port for Solr to listen on Eg.:
    lxc_containers:
      - name: solr8
        release: stretch
        solr_version: 6.6.6
        solr_port: 8983