# module ec2\_lc: EC2 Launch Configurations can't add ephemeral volumes?

**URL:** <https://forum.ansible.com/t/module-ec2-lc-ec2-launch-configurations-cant-add-ephemeral-volumes/15521>\
**Category:** Ansible Project\
**Created:** [June 22, 2014, 1:37pm UTC](https://forum.ansible.com/t/module-ec2-lc-ec2-launch-configurations-cant-add-ephemeral-volumes/15521 "2014-06-22T13:37:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Loren\_Norman](https://avatars.discourse-cdn.com/v4/letter/l/22d042/32.png) [@Loren\_Norman](https://forum.ansible.com/u/Loren_Norman)\
**Post date:** [June 22, 2014, 1:37pm UTC](https://forum.ansible.com/t/module-ec2-lc-ec2-launch-configurations-cant-add-ephemeral-volumes/15521/1 "2014-06-22T13:37:20Z")

</div>

Hello all!

I’m new to Ansible, but I’ve already gotten so much done with it! I ran into a problem that I can’t seem to fix, so I’m posting here to see if this is a bug.

Given the simple play:

`

- hosts: localhost  
connection: local  
gather\_facts: no  
tasks:
- name: Create Launch Configuration  
ec2\_lc:  
name: Ansible Launch Configuration  
image\_id: ami-1d8c9574  
instance\_type: m3.medium  
security\_groups: default  
region: us-east-1  
state: present  
volumes:
- device\_name: /dev/sda1  
device\_type: standard  
volume\_size: 8  
delete\_on\_termination: True
- device\_name: “/dev/sdb”  
ephemeral: “ephemeral0”

`

…I would expect to see an EBS store called /dev/sda1 and an ephemeral store called /dev/sdb on the Launch Configuration. Instead, I see only the EBS store:

[![](https://lh4.googleusercontent.com/-cvZOnovIoxk/U6bbGh0bQ_I/AAAAAAAABLs/ExYMrcnFgF8/s320/2014-06-22+at+9.32+AM.png)](https://lh4.googleusercontent.com/-cvZOnovIoxk/U6bbGh0bQ_I/AAAAAAAABLs/ExYMrcnFgF8/s1600/2014-06-22+at+9.32+AM.png)

Didn’t want to file an issue in case I was overlooking something obvious, please help!

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan1](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Post date:** [June 23, 2014, 12:08pm UTC](https://forum.ansible.com/t/module-ec2-lc-ec2-launch-configurations-cant-add-ephemeral-volumes/15521/2 "2014-06-23T12:08:52Z")

</div>

Perhaps, worth filing a ticket.

The docs on ephemeral don’t really show usage in ec2 or ec2\_lc, so I think we’d want to improve it to show how it was done.
