
Spreading variables across multiple places with a different naming convention adds confusing about their origin and default values. This patch aims to align naming convention as well as defaults defenition on role level rather then partially in playbook and partially in role. Change-Id: I8a665a485cb8028ce7aee62cb9107cd6a482e2e4
42 lines
2.1 KiB
YAML
42 lines
2.1 KiB
YAML
---
|
|
# Copyright 2024, BBC R&D
|
|
#
|
|
# 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.
|
|
|
|
mcapi_vexxhost_proxy_system_group_name: 'capi_proxy'
|
|
mcapi_vexxhost_proxy_system_user_name: 'capi_proxy'
|
|
mcapi_vexxhost_proxy_system_user_comment: 'Magnum Cluster API Proxy System User'
|
|
mcapi_vexxhost_proxy_system_user_home: '/var/lib/{{ mcapi_vexxhost_proxy_system_user_name }}'
|
|
mcapi_vexxhost_proxy_system_user_shell: '/bin/false'
|
|
mcapi_vexxhost_proxy_etc_directory: '/etc/capi_proxy'
|
|
|
|
mcapi_vexxhost_proxy_upper_constraints_url: >-
|
|
{{ requirements_git_url | default('https://releases.openstack.org/constraints/upper/' ~ requirements_git_install_branch | default('master')) }}
|
|
mcapi_vexxhost_proxy_git_constraints:
|
|
- "--constraint {{ mcapi_vexxhost_proxy_upper_constraints_url }}"
|
|
|
|
mcapi_vexxhost_proxy_install_branch: "{{ magnum_magnum_cluster_api_git_install_branch | default('main') }}"
|
|
mcapi_vexxhost_proxy_git_repo: >-
|
|
{{ magnum_magnum_cluster_api_git_repo | default(openstack_github_base_url | default('https://github.com') ~ '/vexxhost/magnum-cluster-api') }}
|
|
|
|
mcapi_vexxhost_proxy_pip_packages:
|
|
- "{{ 'git+' ~ mcapi_vexxhost_proxy_git_repo ~ '@' ~ mcapi_vexxhost_proxy_install_branch ~ '#egg=magnum-cluster-api' }}"
|
|
|
|
mcapi_vexxhost_proxy_venv_tag: "{{ venv_tag | default('untagged') }}"
|
|
mcapi_vexxhost_proxy_bin: "/openstack/venvs/magnum-cluster-api-proxy-{{ mcapi_vexxhost_proxy_venv_tag }}/bin"
|
|
|
|
mcapi_vexxhost_k8s_conf_src: "{{ k8s_admin_conf_src | default('/etc/kubernetes/admin.conf') }}"
|
|
mcapi_vexxhost_k8s_conf_dest: "{{ k8s_admin_conf_dest | default(mcapi_vexxhost_proxy_system_user_home ~ '/.kube/config') }}"
|
|
|
|
mcapi_vexxhost_proxy_environment: {}
|