On 19 Apr 2016 18:54, "Brian Coca" <[email protected]> wrote: > > You just seem to have re implemented smart gathering. If a host has been scanned it should not be scanned again unless you ask for it explicitly. > > > ---------- > Brian Coca
Sure, if using the memory based fact cache: refresh == smart However when using redis, jsonfile, etc: refresh will regather for the first play even if the cache is not expired, without discarding other custom facts added outside of the setup module. The flush cache will wipe out those additional custom facts that were saved previously and are not generated by the setup module. Right now we have to make sure setup is explicitly called as the first task in each list of plays (have 30+ plays run as one playbook). -- Darragh Bailey "Nothing is foolproof to a sufficiently talented fool" - unknown -- 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/CACR7659UAg4Lq%3DUDhAiFFrbjRJszUD%3DRAbuUsSbRoKGBCHqaLQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
