I know I'm new here, but this has bitten me several times already. It
seems that fact gathering of other hosts not in the play loop is such
a common thing that there should be a more explicit way to do this
besides just the side effect of a play with no tasks. Because you have
to set things up to always have to pass an extra variable on the
command line which increases the amount you need to memorize just to
execute every play. And then if things change such that you need to
include other groups in the task gathering that are not included in
the execution you have to retrain everyone for every invocation that
isn't global.
I appreciate that there is a work around for the general case, but
fact gathering of other hosts seems like such a common thing that
there should be a way to do it not as a side effect that needs
invocation hurdles.
Just my 2¢
>
https://groups.google.com/d/msgid/ansible-project/CA%2BnsWgywXVWhW11SzYeJp%3Dgh3yTWkXzSTf0Z%3Dk%2BrRL3t3ox-Rg%40mail.gmail.com.