ansible/ansible — pull request #5767 by bcoca (2014-01-25 16:30:00+00:00)
Title: added play_hosts variable 

This var contains the current hosts being iterated over in play, this is the list after processing hosts: and --limit clauses and have not already been deemed failed or unreachable.

This allows for template/with_items iterations on only 'current hosts'