RETIRED, Role os_searchlight for OpenStack-Ansible
92b003001e
Change-Id: I29ccc0c450139517b377257d2d3ec6291b1fc981 |
||
---|---|---|
defaults | ||
doc | ||
handlers | ||
library | ||
meta | ||
releasenotes | ||
tasks | ||
templates | ||
tests | ||
vars | ||
zuul.d | ||
.gitignore | ||
.gitreview | ||
ansible-role-requirements.yml | ||
bindep.txt | ||
CONTRIBUTING.rst | ||
LICENSE | ||
README.rst | ||
run_tests.sh | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini | ||
Vagrantfile |
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.