the gather_facts: false in subsequent plays works if they are all in the
same playbook.  But it breaks when doing (and all plays using facts):

- include: playA.yml
- include: playB.yml
- include: playC.yml

Which is a pretty common setup, specially for site.yml and still allows you
to run the plays individually. From irc and tickets this is a pretty
common use case, I understand that it is undocumented/unclear behavior but
I think a better change is through documentation vs removing the way this
has worked in the experience of the majority of the users.

Also I have not heard about issues with facts not being refreshed, aside
from add_host, group_by which now specifically force a gather/cache
invalidation.

I think you are 'fixing' it for the rare case, which could also be solved
easier by just documenting the feature or adding a default 'cached' option
that would be clear, explicit and still work as it has (which is pretty
optimal for 99% of the usage).

-- 
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/CADn%2BHsy17_huMRciD5hOfzPUqn%2BMQFNFaSfGCLcEzDRDq6tJ%2Bg%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to