|
|
|
@ -96,7 +96,7 @@ The most important of these are 'hostvars', 'group_names', and 'groups'.
|
|
|
|
|
|
|
|
|
|
Hostvars lets you ask about the variables of another host, including facts that have been gathered
|
|
|
|
|
about that host. If you haven't yet talked to that host in any play yet at this point in the playbook
|
|
|
|
|
or set of playbooks, you can get at the variables, but you will not be able o see the facts.
|
|
|
|
|
or set of playbooks, you can get at the variables, but you will not be able to see the facts.
|
|
|
|
|
|
|
|
|
|
If your database server wants to use the value of a 'fact' from another node, or an inventory variable
|
|
|
|
|
assigned to another node, it's easy to do so within a template or even an action line::
|
|
|
|
|