openstack-ansible/playbooks/inventory/env.d/haproxy.yml
Jimmy McCrory 4a35fe9ea2 Remove unused properties from environment files
The 'service_name' property is a holdover from when there was a common
role used to install all OpenStack services. This is now a default
variable within each individual role. Similarly, the 'log_directory'
property for galera containers is now handled by the 'log_dirs' variable
within its playbook.

The dynamic inventory script has been updated to create an empty
'properties' dict for any container skeletons within the environment
that do not have one already defined.

Change-Id: Icd852f24251c1cef0fa162d33e2422be83e0a833
2017-05-08 16:10:53 -07:00

38 lines
1007 B
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
contains:
- haproxy
properties:
is_metal: true
physical_skel:
haproxy_containers:
belongs_to:
- all_containers
haproxy_hosts:
belongs_to:
- hosts