# question in when with\_nested

**URL:** <https://forum.ansible.com/t/question-in-when-with-nested/18977>\
**Category:** Ansible Project\
**Created:** [August 10, 2015, 6:20am UTC](https://forum.ansible.com/t/question-in-when-with-nested/18977 "2015-08-10T06:20:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![user27](https://avatars.discourse-cdn.com/v4/letter/u/a183cd/32.png) [@user27](https://forum.ansible.com/u/user27)\
**Post date:** [August 10, 2015, 6:20am UTC](https://forum.ansible.com/t/question-in-when-with-nested/18977/1 "2015-08-10T06:20:21Z")

</div>

when item[0] in item[1] with\_nested: - [1,2], - [1,3],will make all loop,just like:(1 in 1)? and then also do (1 in 3)?..,but how to let it not do the (1 in 3)?
