Dmitriy Rabotyagov e44c99e64a Fix linters and metadata
With update of ansible-lint to version >=6.0.0 a lot of new
linters were added, that enabled by default. In order to comply
with linter rules we're applying changes to the role.

With that we also update metdata to reflect current state.

Change-Id: Ib390f06177fbac77a4285e3be86e6461fd769597
2023-07-14 19:36:45 +02:00

64 lines
2.6 KiB
YAML

---
# Copyright 2016, Comcast 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.
# python venv executable
rally_venv_python_executable: "{{ openstack_venv_python_executable | default('python3') }}"
# Set the package install state for distribution and pip packages
# Options are 'present' and 'latest'
rally_package_state: "latest"
rally_pip_package_state: "latest"
rally_system_group_name: rally
rally_system_user_name: rally
rally_system_user_comment: Rally System User
rally_system_user_shell: /bin/false
rally_system_user_home: "/var/lib/{{ rally_system_user_name }}"
rally_etc_directory: /etc/rally
rally_pip_install_args: "{{ pip_install_options | default('') }}"
# Name of the virtual env to deploy into
rally_venv_tag: "{{ venv_tag | default('untagged') }}"
rally_bin: "/openstack/venvs/rally-{{ rally_venv_tag }}/bin"
# Database vars
rally_db_setup_host: "{{ openstack_db_setup_host | default('localhost') }}"
rally_db_setup_python_interpreter: |-
{{
openstack_db_setup_python_interpreter | default(
(rally_db_setup_host == 'localhost') | ternary(ansible_playbook_python, ansible_facts['python']['executable']))
}}
rally_galera_address: "{{ galera_address | default('127.0.0.1') }}"
rally_galera_port: 3306
rally_galera_database: rally
rally_galera_user: rally
rally_database_connection_string: >-
mysql+pymysql://{{ rally_galera_user }}:{{ rally_galera_password }}@{{ rally_galera_address }}/{{ rally_galera_database }}?charset=utf8
rally_openstack_git_repo: https://opendev.org/openstack/rally-openstack
rally_openstack_git_install_branch: master
# NOTE(mnaser): This uses the Rally upper-constraints because it
# is branchless and maintains it's own constraints,
# outside of requirements.
rally_upper_constraints_url: "{{ rally_openstack_git_repo }}/raw/{{ rally_openstack_git_install_branch }}/upper-constraints.txt"
rally_git_constraints:
- "--constraint {{ rally_upper_constraints_url }}"
rally_pip_packages:
- "git+{{ rally_openstack_git_repo }}@{{ rally_openstack_git_install_branch }}#egg=rally-openstack"
- PyMySQL
rally_config_overrides: {}