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:
Strahinja Kustudic 2017-04-24 18:14:47 +02:00 committed by scottb
parent e0a7105c2d
commit 74e385e43a

View file

@ -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: