d6b107dc6e
virtualenv-tools has a bug which gets triggered in gates: it can't change the shebang of a virtualenv python bin/ files if they were generated with a virtualenv script whose shebang ends with python2 instead of python. Because we can't modify virtualenv-tools, we use shell scripts instead. Change-Id: I964b9be6da90018f67b6a3bc1716245f52ffc9f9 Partial-Bug: #1741634
77 lines
2.5 KiB
YAML
77 lines
2.5 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"
|
|
|
|
# Name of the virtual env to deploy into
|
|
molteniron_venv_tag: 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
|
|
- 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
|