ansible/ansible — pull request #3844 by lberruti (2013-08-14 09:53:53+00:00)
Title: Fix: with_items and complex_args

Issue with "with_items" and "complex_args":
```
# vars:
link_list:
- { src: /etc/fstab, dest: /tmp/1, state: link }
- { src: /etc/hosts, dest: /tmp/2, state: link }
- { src: /etc/hostname, dest: /tmp/3, state: link }
- { src: /etc/resolv.conf, dest: /tmp/4, state: link }
# tasks:
- file:
args: item
with_items: link_list
```
only the first item is executed (changed), other ones are always listed ok (and links are not created):
```
TASK: [file ] *****************************************************************
changed: [deb7.inter.nos] => (item={'dest': '/tmp/1', 'src': '/etc/fstab', 'state': 'link'})
ok: [deb7.inter.nos] => (item={'dest': '/tmp/2', 'src': '/etc/hosts', 'state': 'link'})
ok: [deb7.inter.nos] => (item={'dest': '/tmp/3', 'src': '/etc/hostname', 'state': 'link'})
ok: [deb7.inter.nos] => (item={'dest': '/tmp/4', 'src': '/etc/resolv.conf', 'state': 'link'})
```
This pull fix this issue