From 74e385e43a8e6d7568ce4c1756753be604688f83 Mon Sep 17 00:00:00 2001 From: Strahinja Kustudic Date: Mon, 24 Apr 2017 18:14:47 +0200 Subject: [PATCH] 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 --- docs/docsite/rst/playbooks_variables.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docsite/rst/playbooks_variables.rst b/docs/docsite/rst/playbooks_variables.rst index aaac59316ae..1921fe3d7b0 100644 --- a/docs/docsite/rst/playbooks_variables.rst +++ b/docs/docsite/rst/playbooks_variables.rst @@ -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: