I've just realised I should have been emailing ansible-devel not ansible-project with this :(
Sorry, will try to use the correct group in future. On 19 April 2016 at 19:23, Darragh Bailey <[email protected]> wrote: > > 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 > -- Darragh Bailey "Nothing is foolproof to a sufficiently talented fool" -- 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/CACR7658JdSM674CRmPfZ%3DrsTHq%2Bo-08r43N5rr-2A5BThFgSyQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
