My python-fu isn’t as good as my skills in some other languages, so after looking at the sources I am still not 100% sure what is supposed to happen when I run “yum: name=* state=latest” (in this case from inside of a playbook).
The Github issue https://github.com/ansible/ansible/issues/269 implies that this would install everything known to the repository (or repositories), but the documentation seems to me to be mute on what is intended for this case. If this is the case, is there some other “best practices” way of updating a “brand new” host (one of those cases when you actually want to update everything already installed and not pick/choose)?
I understand the attempt at idempotency, but frankly that can be confusing when it makes operations context-sensitive. (I also dislike the fact that this may be foreclosing upon using an existing interface to do what is a fairly common operation.)