mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02: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:
parent
e0a7105c2d
commit
74e385e43a
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
||||
|
|
Loading…
Reference in a new issue