mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
Move include_vars to host scope (#23868)
* Move include_vars to host scope Module include_vars actually sets variables on a host level, and not the play level. * Expand vars entires
This commit is contained in:
committed by
scottb
parent
e0a7105c2d
commit
74e385e43a
@@ -897,8 +897,8 @@ Variable Scopes
|
||||
Ansible has 3 main scopes:
|
||||
|
||||
* Global: this is set by config, environment variables and the command line
|
||||
* Play: each play and contained structures, vars entries, include_vars, role defaults and vars.
|
||||
* Host: variables directly associated to a host, like inventory, facts or registered task outputs
|
||||
* Play: each play and contained structures, vars entries (vars; vars_files; vars_prompt), role defaults and vars.
|
||||
* Host: variables directly associated to a host, like inventory, include_vars, facts or registered task outputs
|
||||
|
||||
.. _variable_examples:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user