From 055c32a7f623896ab04c8bbfc72d2a1e4a34a239 Mon Sep 17 00:00:00 2001 From: Logan V Date: Thu, 9 May 2019 13:12:01 -0500 Subject: [PATCH] Import placement auth vars to global scope Following precedent in the os_nova role[0], nova will use the placement API credentials to access the placement service. Since these defaults are used between both the placement and nova roles they must be scoped in the 'all' group vars. Change-Id: I25ce79b9e3492cb075c50beed90ea2b78055e474 --- inventory/group_vars/all/placement.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 inventory/group_vars/all/placement.yml diff --git a/inventory/group_vars/all/placement.yml b/inventory/group_vars/all/placement.yml new file mode 100644 index 0000000000..ae1ea1134d --- /dev/null +++ b/inventory/group_vars/all/placement.yml @@ -0,0 +1,20 @@ +--- +# Copyright 2019, Logan Vig +# +# 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 vars are used for placement and nova +placement_service_project_domain_id: default +placement_service_user_domain_id: default +placement_service_user_name: placement +placement_service_project_name: service