Fact Caching & Access

Hi,

I"m trying to figure out how roles and playbooks use the fact cache. Do roles/playbooks have access to all facts in the cache all the time? Or, is access limited to the current host’s facts?

For example, if I execute the role ‘foo’ on the host ‘bar’, will the facts gathered from host ‘baz’ be accessible by the ‘foo’ role during that time?

Put another way, is a fact cache treated like one database available to all contexts?

TIA,

-T

Once facts are available, through cache or directly through gathering,
all hosts can access them.

Thanks, Brain (ahem Brian)!