Answered this exact same question here yesterday:

Facts are available throughout the playbook run, or longer, if fact caching
is enabled.

http://docs.ansible.com/playbooks_variables.html#fact-caching




On Fri, Aug 29, 2014 at 11:22 AM, Michael Dur <[email protected]> wrote:

> We have many playbooks, and groups.
> I notice when I do a full site run that at the beginning of the 'top
> level' playbooks, that is those referenced by site.yml, that facts are
> gathered each time.
> I realize I can disable gathering facts for a given playbook.
> Are facts that are previously gathered carried forward, allowing us to
> gather just once for a run?
>
> Thanks!
> -Michael
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/afc0834b-5e2b-41db-a3f7-a38abc7d0063%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/afc0834b-5e2b-41db-a3f7-a38abc7d0063%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CA%2BnsWgxkb%3DnwVKB9irQ2Z29WW-70x%2BNdJWYVdRaZunrC81M1gA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to