Perhaps some assignment of play.gather_facts to the effective boolean, if
None, might simplify things?

That way any code in question that might refer to it can just check
play.gather_facts and get the mode.

But yeah, this config setting is, I think, exactly the way to do it to make
the system self documenting.

Perhaps some renames though?

always => implicit

never => explicit

smart => smart


never might tend to imply gather_facts might be ignored.  Some of this
could also be dealt with in comments in the ansible.cfg though


(Also, green bikesheds!)











On Sat, Mar 15, 2014 at 4:25 PM, Brian Coca <[email protected]> wrote:

> I hope this satisfies all parties
>
> https://github.com/ansible/ansible/pull/6508
>
> --
> 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%2BHswJiSC00qi6oNsoNEF4tcfAKz8YjRfvAqnQdxJKDCG6%2BA%40mail.gmail.com<https://groups.google.com/d/msgid/ansible-project/CADn%2BHswJiSC00qi6oNsoNEF4tcfAKz8YjRfvAqnQdxJKDCG6%2BA%40mail.gmail.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/CAEVJ8QN%3Du502nqc%2B3a3N8uLgZen%2BDKCbDaSGDZqaxmhfWz%3DAtw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to