c5fbcbfbbb
Due to the way of how dynamic_inventory parses groups, usage of `haproxy_hosts` which are eventually mapped to `haproxy` lead bare metal hosts to be also a part of `haproxy_all` group, which might be not expected or anticipated. Change-Id: Ib1199236a6dfecb47b5840f04cb4b1486cc2f6a6
45 lines
1.1 KiB
YAML
45 lines
1.1 KiB
YAML
---
|
|
# Copyright 2015, Jean-Philippe Evrard <jean-philippe@evrard.me>
|
|
#
|
|
# 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.
|
|
|
|
component_skel:
|
|
haproxy:
|
|
belongs_to:
|
|
# This is a meta group of a given component type.
|
|
- haproxy_all
|
|
|
|
container_skel:
|
|
haproxy_container:
|
|
belongs_to:
|
|
- haproxy_containers
|
|
- load_balancer_containers
|
|
contains:
|
|
- haproxy
|
|
properties:
|
|
is_metal: true
|
|
|
|
physical_skel:
|
|
load_balancer_containers:
|
|
belongs_to:
|
|
- all_containers
|
|
load_balancer_hosts:
|
|
belongs_to:
|
|
- hosts
|
|
haproxy_containers:
|
|
belongs_to:
|
|
- all_containers
|
|
haproxy_hosts:
|
|
belongs_to:
|
|
- hosts
|