ansible/ansible — pull request #5428 by Geryon (2013-12-26 18:21:34+00:00)
Title: Ephemeral devices can now be specified at instance creation time.

For EC2 instances that use EBS for the root device there is not instance store available at boot time. These instance store volumes can't be added after the instance has been launched. This adds the ability to specify the number of instance stores to attach to the instance during provisioning. This is the equivalent to specifying the command line option(s) '-b "/dev/xvdb=ephemeral0" -b "/dev/xvdc=ephemeral1"'.

Example provisioning play:

```
- name: Provision and launch a new AWS EC2 Instance
local_action: >
ec2
keypair='MyKeyPair'
group='default'
instance_type='m1.large'
image='ami-a73264ce'
ephemeral=2
wait=true
region='us-east-1'
zone='us-east-1b'
register: ec2
```