Modify install_defaults to be more overridable
Due to vars precedence rules, included vars during role runtime can be overriden only with extra-vars, meaning that defined group/host_vars will be ignored. This would fix the usage of group_vars while should work for other usecases. Though, `defaults_from` should be supplied explicitly while importing the role. Change-Id: I6a213aeaecff87c7e74507c0c2fed9b54c10f908
This commit is contained in:
@@ -1,17 +0,0 @@
|
||||
---
|
||||
# Copyright 2024, Cleura AB.
|
||||
#
|
||||
# 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.
|
||||
|
||||
- name: Include vars for install method {{ install_method }}
|
||||
include_vars: "{{ install_method }}.yml"
|
||||
Reference in New Issue
Block a user