# ansible and do-until loops with the ec2 cloud module

**URL:** <https://forum.ansible.com/t/ansible-and-do-until-loops-with-the-ec2-cloud-module/16679>\
**Category:** Ansible Project\
**Created:** [November 3, 2014, 11:04pm UTC](https://forum.ansible.com/t/ansible-and-do-until-loops-with-the-ec2-cloud-module/16679 "2014-11-03T23:04:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nate\_Dobbs](https://avatars.discourse-cdn.com/v4/letter/n/7cd45c/32.png) [@Nate\_Dobbs](https://forum.ansible.com/u/Nate_Dobbs)\
**Post date:** [November 3, 2014, 11:04pm UTC](https://forum.ansible.com/t/ansible-and-do-until-loops-with-the-ec2-cloud-module/16679/1 "2014-11-03T23:04:25Z")

</div>

Does anyone have experience with ‘do-until’ loops with ‘extras’ modules? When I use one and the condition matches, I get an error while evaluating conditional. Refer to =\> [http://pastebin.com/mjqU5pNC](http://pastebin.com/mjqU5pNC)

Am I using the loop wrong and evaluating the wrong code returned from the variable? Any help that will point me in the right direction would be greatly appreciated.
