more 0.8 docs
parent
0677891fc6
commit
97bc11795a
|
@ -99,7 +99,11 @@ assigned to another node, it's easy to do so within a template or even an action
|
|||
.. note::
|
||||
No database or other complex system is required to exchange data
|
||||
between hosts. The hosts that you want to reference data from must
|
||||
be included in either the current play or any previous play.
|
||||
be included in either the current play or any previous play if you
|
||||
are using a version prior to 0.8. If you are using 0.8, and you have
|
||||
not yet contacted the host, you'll be able to read inventory variables
|
||||
but not fact variables. Speak to the host by including it in a play
|
||||
to make fact information available.
|
||||
|
||||
Additionally, *group_names* is a list (array) of all the groups the current host is in. This can be used in templates using Jinja2 syntax to make template source files that vary based on the group membership (or role) of the host::
|
||||
|
||||
|
|
Loading…
Reference in New Issue