From b6a8d402c5f3e4e9443ed90968317a220ed1333f Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Sat, 27 Apr 2013 11:54:30 -0400 Subject: [PATCH] Document variables are reserved. --- docsite/latest/rst/playbooks2.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docsite/latest/rst/playbooks2.rst b/docsite/latest/rst/playbooks2.rst index ad5933869ea..c8034160175 100644 --- a/docsite/latest/rst/playbooks2.rst +++ b/docsite/latest/rst/playbooks2.rst @@ -90,7 +90,8 @@ Magic Variables, and How To Access Information About Other Hosts ```````````````````````````````````````````````````````````````` Even if you didn't define them yourself, ansible provides a few variables for you, automatically. -The most important of these are 'hostvars', 'group_names', and 'groups'. +The most important of these are 'hostvars', 'group_names', and 'groups'. Users should not use +these names themselves as they are reserved. Hostvars lets you ask about the variables of another host, including facts that have been gathered about that host. If, at this point, you haven't talked to that host yet in any play in the playbook