Dmitriy Rabotyagov fe7e08184f [doc] Add brief documentation for mcapi proxy
Change-Id: I95c314bf308f618b59dce77c61635866eed63b92
2025-02-03 12:26:15 +00:00

48 lines
1.5 KiB
YAML

---
# Copyright 2023, 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.
# deploy the proxy service to communicate directly between magnum coe
# clusters and the capi control plane without going via a public floating
# IP
# For OVS/Linuxbridge this can be installed to network nodes, but for
# OVN it must be installed to all computes. Override the target hosts
# for this play as required
- name: Install magnum-cluster-api-proxy
hosts: "{{ mcapi_vexxhost_proxy_hosts | default('network_hosts') }}"
environment: "{{ deployment_environment_variables | default({}) }}"
tasks:
- name: Gather facts
setup:
gather_subset:
- "!all"
- min
when: osa_gather_facts | default(True)
tags:
- always
- name: Setup installation variables
include_role:
name: openstack.osa.install_defaults
defaults_from: "{{ install_method }}"
public: true
- name: Install proxy service
include_role:
name: osa_ops.mcapi_vexxhost.proxy
tags:
- magnum-cluster-api-proxy