# Do lists and dicts keep the same order for every task?

**URL:** <https://forum.ansible.com/t/do-lists-and-dicts-keep-the-same-order-for-every-task/21935>\
**Category:** Ansible Project\
**Created:** [July 6, 2016, 4:38pm UTC](https://forum.ansible.com/t/do-lists-and-dicts-keep-the-same-order-for-every-task/21935 "2016-07-06T16:38:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jdelaporte](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/jdelaporte/32/366_2.png) [@jdelaporte](https://forum.ansible.com/u/jdelaporte)\
**Post date:** [July 6, 2016, 4:38pm UTC](https://forum.ansible.com/t/do-lists-and-dicts-keep-the-same-order-for-every-task/21935/1 "2016-07-06T16:38:07Z")

</div>

I am curious whether lists and dicts maintain their order when used in different tasks. I want to make sure I don’t accidentally scramble my user/group data as I migrate.
