SDM Framework
Installation and Configuration
Installing Ansible, Git and Co.
Configuring SDM
User Guides
Getting Started
Object-Oriented Roles
SDM Framework
Object-Oriented Roles
SDM Guide
Directory Layout
Role Concept
General Consideration
Hierarchies
Object Orientation
Dependencies via meta declaration
Variables
General Variables
Playbooks
Install hosts
Configure hosts
Upgrade hosts
Update data
Installer Guide
FreeBSD Installer
Linux Installer
References
Roles
Function Roles
Package Roles
System Roles
Collection Index
Indexes of all modules and plugins
Index of all Action Plugins
Index of all Callback Plugins
Index of all Connection Plugins
Index of all Filter Plugins
Index of all Lookup Plugins
Index of all Modules
Index of all Strategy Plugins
Index of all Vars Plugins
Resources
Projects
NextCloud
Team Meetings
Team
Idea board
About
What is SDM?
License information
Contact
Legal Notice / Impressum
Data Protection Declaration / Datenschutzerklärung
News
sdm.oor.load_role_vars – loads variables from role variable file to host's role variables cache
Content
[
hide
]
Description
Parameters
Examples
License
Contributors
Description
This module loads variables from role variable file to the role variables cache of a host.
The variables are only exist within the executed role.
The file must be located in the
vars
directory of a role.
It can only used within roles that were executed with
call_role
.
It is part of the object-oriented
role concept
of the SDM framework.
Parameter
Parameter
Choices /
Defaults
Description
from
path
The name of variable file that should loaded.
Examples
-
name
:
"load variable from role"
sdm.oor.load_role_vars
:
from
:
"myvars"
License
GPL-3 license
Contributors
Martin Pietsch (martin.pietsch@tu-dresden.de)