RETIRED, Role os_searchlight for OpenStack-Ansible
Go to file
OpenDev Sysadmins 0c7e1ada77 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:45:00 +00:00
defaults Point to Queens instead of master 2018-03-14 09:35:40 +00:00
doc Remove pip_install dependency 2017-12-05 11:56:11 +00:00
handlers Import initial os_searchlight role. 2017-06-05 15:06:59 +01:00
library Import initial os_searchlight role. 2017-06-05 15:06:59 +01:00
meta Remove pip_install dependency 2017-12-05 11:56:11 +00:00
releasenotes Remove setting of version/release from releasenotes 2017-11-17 08:04:24 +01:00
tasks Merge "Only replace python when re-initializing the venv" into stable/queens 2018-06-04 02:23:38 +00:00
templates Update configuration to use Keystone v3 2017-10-10 13:15:44 -07:00
tests Replace openstack.org git:// URLs with https:// 2019-03-24 20:35:02 +00:00
vars Import initial os_searchlight role. 2017-06-05 15:06:59 +01:00
zuul.d import zuul job settings from project-config 2018-08-21 13:46:49 +00:00
.gitignore Updated from OpenStack Ansible Tests 2017-10-12 20:45:03 +00:00
.gitreview OpenDev Migration Patch 2019-04-19 19:45:00 +00:00
CONTRIBUTING.rst Import initial os_searchlight role. 2017-06-05 15:06:59 +01:00
LICENSE Import initial os_searchlight role. 2017-06-05 15:06:59 +01:00
README.rst Import initial os_searchlight role. 2017-06-05 15:06:59 +01:00
Vagrantfile Updated from OpenStack Ansible Tests 2018-01-22 16:56:40 +00:00
bindep.txt Updated from OpenStack Ansible Tests 2018-05-07 15:31:21 +00:00
run_tests.sh Updated from OpenStack Ansible Tests 2017-11-10 13:17:43 +00:00
setup.cfg Import initial os_searchlight role. 2017-06-05 15:06:59 +01:00
setup.py Updated from global requirements 2017-06-07 23:58:45 +00:00
test-requirements.txt Updated from global requirements 2018-01-24 01:20:07 +00:00
tox.ini Point to Queens instead of master 2018-03-14 09:35:40 +00:00

README.rst

OpenStack-Ansible Searchlight

Ansible role which installs and configures OpenStack Searchlight.

Default Variables

../../defaults/main.yml

Required Variables

This list is not considered exhaustive at present. See role internals for further details.

elasticsearch_apt_java_package: "openjdk-8-jre"
searchlight_rabbitmq_userid: searchlight
searchlight_rabbitmq_vhost: /searchlight
searchlight_rabbitmq_servers: "{{ rabbitmq_servers }}"
searchlight_rabbitmq_port: "{{ rabbitmq_port }}"
searchlight_rabbitmq_use_ssl: "{{ rabbitmq_use_ssl }}"

Example Playbook

- name: Installation and setup of Searchlight
  hosts: keystone_all
  user: root
  roles:
    - role: elasticsearch
    - role: "os_searchlight"
      searchlight_venv_tag: "{{ openstack_release }}"
      searchlight_venv_download_url: "{{ openstack_repo_url }}/venvs/{{ openstack_release }}/{{ ansible_distribution | lower }}/searchlight-{{ openstack_release }}-{{ ansible_architecture | lower }}.tgz"
      pip_lock_to_internal_repo: "{{ (pip_links | length) >= 1 }}"
      tags:
        - "os-searchlight"
      vars:
        elasticsearch_apt_java_package: "openjdk-8-jre"
        searchlight_rabbitmq_userid: searchlight
        searchlight_rabbitmq_vhost: /searchlight
        searchlight_rabbitmq_servers: "{{ rabbitmq_servers }}"
        searchlight_rabbitmq_port: "{{ rabbitmq_port }}"
        searchlight_rabbitmq_use_ssl: "{{ rabbitmq_use_ssl }}"

Tags

This role supports two tags: searchlight-install and searchlight-config

The searchlight-install tag can be used to install and upgrade.

The searchlight-config tag can be used to maintain configuration of the service.