# \[ansible\] Ansible2 : \`roles\` and \`with\_items\` (#12623)

**URL:** <https://forum.ansible.com/t/ansible-ansible2-roles-and-with-items-12623/19434>\
**Category:** Ansible Developer\
**Created:** [October 4, 2015, 10:05pm UTC](https://forum.ansible.com/t/ansible-ansible2-roles-and-with-items-12623/19434 "2015-10-04T22:05:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leo\_Gaspard](https://avatars.discourse-cdn.com/v4/letter/l/cc9497/32.png) [@Leo\_Gaspard](https://forum.ansible.com/u/Leo_Gaspard)\
**Post date:** [October 4, 2015, 10:05pm UTC](https://forum.ansible.com/t/ansible-ansible2-roles-and-with-items-12623/19434/1 "2015-10-04T22:05:39Z")

</div>

Hello,

I just received this message, when my bug report was closed. (Because it worked when not using {{ item }}, I believed it was a valid way to loop)

As a consequence, I’d like to ask: should I hope that, in the near future, Ansible2 will be able to use with\_ loops along with roles? Or should I fallback to using old-style “includes” that, I have heard, are now fixed to work with with\_ loops?

Thanks in advance,

Leo Gaspard

PS: The issue URL, just in case: [https://github.com/ansible/ansible/issues/12623](https://github.com/ansible/ansible/issues/12623)
