ansible/ansible — pull request #3685 by mspaulding06 (2013-07-28 21:28:44+00:00)
Title: Indexed items lookup plugin

Added support for 'with_indexed_items' as per @mpdehaan's suggestion, which includes an integer index value with each item iterated over. It can be used like this:

```
- name: My Task
shell: echo Host Number {{ item.0 }} is {{ item.1 }}
with_indexed_items: groups.mygroup
```