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
pull/23529/merge
Strahinja Kustudic 8 years ago committed by scottb
parent e0a7105c2d
commit 74e385e43a

@ -897,8 +897,8 @@ Variable Scopes
Ansible has 3 main scopes: Ansible has 3 main scopes:
* Global: this is set by config, environment variables and the command line * 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. * 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, facts or registered task outputs * Host: variables directly associated to a host, like inventory, include_vars, facts or registered task outputs
.. _variable_examples: .. _variable_examples:

Loading…
Cancel
Save