ansible/ansible — pull request #7718 by j2sol (2014-06-10 20:10:53+00:00)
Title: Don't skip printing on unmatched tags

The way ansible-playbook is using the API for list-tags, each play is
processed/printed as it is read, is different from how plays are
actually executed, where all the plays are read and only if a tag was
unmatched in /all/ the plays would the execution error out.

Without this change, tasks from a play that has unmatched tags would not
print, even if that tag is later matched in a different play. In the
scenario of --skip-tags, those tasks would actually run, because they
don't match the tag to be skipped.

This change makes listing of tasks more inline with how playbooks are
actually executed.