openstack-ansible-os_molten.../defaults/main.yml

89 lines
3.1 KiB
YAML

---
# Copyright (c) 2017 IBM Corporation.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
## Verbosity Options
debug: False
# Set the package install state for distribution packages
# Options are 'present' and 'latest'
molteniron_package_state: "latest"
molteniron_git_repo: https://git.openstack.org/openstack/molteniron
molteniron_git_install_branch: master
molteniron_developer_mode: false
molteniron_developer_constraints:
- "git+{{ molteniron_git_repo }}@{{ molteniron_git_install_branch }}#egg=molteniron"
# TODO(odyssey4me):
# This can be simplified once all the roles are using
# python_venv_build. We can then switch to using a
# set of constraints in pip.conf inside the venv,
# perhaps prepared by giving a giving a list of
# constraints to the role.
molteniron_pip_install_args: >-
{{ molteniron_developer_mode | ternary(pip_install_developer_constraints | default('--constraint /opt/developer-pip-constraints.txt'), '') }}
{{ (pip_install_upper_constraints is defined) | ternary('--constraint ' + pip_install_upper_constraints | default(''), '') }}
{{ pip_install_options | default('') }}
# Name of the virtual env to deploy into
molteniron_venv_tag: "{{ venv_tag | default('untagged') }}"
molteniron_bin: "/openstack/venvs/molteniron-{{ molteniron_venv_tag }}/bin"
molteniron_venv_download_url: http://127.0.0.1/venvs/untagged/ubuntu/molteniron.tgz
## Molteniron User / Group
molteniron_system_user_name: molteniron
molteniron_system_group_name: molteniron
molteniron_system_shell: /bin/bash
molteniron_system_comment: molteniron system user
molteniron_system_home_folder: "/var/lib/{{ molteniron_system_user_name }}"
## Molteniron default ports
# You can change the object, container, account ports.
# This will update the ring, on the next playbook run,
# without requiring a rebalance.
# NB: There is service downtime, during the run, between
# the service restart and the ring updating.
molteniron_object_port: "5656"
## Molteniron service defaults
molteniron_service_name: molteniron
# Basic molteniron configuration for the cluster
molteniron: {}
# Example basic molteniron configuration for the cluster
# molteniron:
# molteniron packages that must be installed before anything else
molteniron_requires_pip_packages:
- daemonize
- osprofiler
- PyMySQL
- pyyaml
- sqlalchemy
- sqlalchemy_utils
- virtualenv
# Common pip packages
molteniron_pip_packages:
- molteniron
# This variable is used by the repo_build process to determine
# which host group to check for members of before building the
# pip packages required by this role. The value is picked up
# by the py_pkgs lookup.
molteniron_role_project_group: molteniron_all