added |list filter to with_items iterator. There is a bug(?) in ansible>1.6.5. Read more here https://github.com/ansible/ansible/issues/8055