Here was the code in question, which didn't check it. It probably should have. In either case, I'm open to having a different flag to express this though we should be avoiding tri-state booleans in the code, which is a question of how it should be expressed interface wise.
Probably a policy variable in ansible.cfg could just control what "gather_facts: True" does, and there's always the explicit call to setup if you want it. So the "None" thing can still go. This is the heinous line in question: - host_list = [h for h in host_list if h not in self.SETUP_CACHE or 'module_setup' not in self.SETUP_CACHE[h]] On Tue, Mar 4, 2014 at 9:26 AM, Brian Coca <[email protected]> wrote: > @micheal, I'm not even making the case for my machines, my fact cache > plugin has solved that issue temporarily until I get them off life support > (1/2 way there). > > About the boolean that shows setup has run, IT ALREADY EXISTS and we > ALREADY CHECK IT: "module_setup": "true" > > which is set ONLY by the setup plugin to indicate that it ran, this > distinguishes it from registered vars so I'm not sure how the problem you > are trying to fix occurred. > > > -- > Brian Coca > Stultorum infinitus est numerus > > 0110000101110010011001010110111000100111011101000010000001111001011011110111010100100000011100110110110101100001011100100111010000100001 > Pedo mellon a minno > > -- > 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%2BHsz8mpbE5G3KUpt-vYsYHbeKBewGznP0hkyr%3Dk68oRKZ7Q%40mail.gmail.com<https://groups.google.com/d/msgid/ansible-project/CADn%2BHsz8mpbE5G3KUpt-vYsYHbeKBewGznP0hkyr%3Dk68oRKZ7Q%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/groups/opt_out. > -- 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/CAEVJ8QMvHEHuXM5i4iBsHvRGH6RO697N7vGRbXUx31kiy1pZcA%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
