86d1bdff55
This patch aims to reduce confusion caused by a variable `container_address` that's applicable for bare metal hosts. With that it renames `is_container_address` to `is_management_address` to be aligned with the purpose of the variable, as `container` part raised confusion. Change-Id: I314224f3376cf91e05680b11d225fdaf81ec32ab
21 lines
870 B
YAML
21 lines
870 B
YAML
---
|
|
# Copyright 2016, Rackspace US, Inc.
|
|
#
|
|
# 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.
|
|
|
|
# These are here rather than in keystone_all because
|
|
# both the os_ceilometer and os_keystone roles require them
|
|
|
|
# Hosts allowed to override remote IP with X-Forwarded-For
|
|
keystone_set_real_ip_from: "{{ groups['haproxy'] | map('extract', hostvars, 'management_address') | list }}"
|