# Help with EC2 Module

**URL:** <https://forum.ansible.com/t/help-with-ec2-module/18319>\
**Category:** Ansible Project\
**Created:** [May 27, 2015, 4:43pm UTC](https://forum.ansible.com/t/help-with-ec2-module/18319 "2015-05-27T16:43:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aaron\_Gibson](https://avatars.discourse-cdn.com/v4/letter/a/bbe5ce/32.png) [@Aaron\_Gibson](https://forum.ansible.com/u/Aaron_Gibson)\
**Post date:** [May 27, 2015, 4:43pm UTC](https://forum.ansible.com/t/help-with-ec2-module/18319/1 "2015-05-27T16:43:55Z")

</div>

Hello Ansible pro’s, I am new to the tool and looking to solve a use case. I would like to complete a basic rolling update for our site, basically I want to deregister a web from an EC2 ELB, do some updates, then add it back in. I have been struggling with the playbook for this

I have a simple inventory file, it identifies one host under the [web] section. I also defined a variables file, I set the EC2 access and key, I then have the following .yml file:
