I'm using ansible 1.9.1
On Monday, August 3, 2015 at 9:37:42 AM UTC+3, Tzach Livyatan wrote:
>
> I'm struggling with adding ephemeral volume to EC2 instance on creation
> Base on examples, I use the following task, but its look like its ignored
> with out any error message.
> What am I'm doing wrong?
>
> Thanks
>
> - name: Launch instances
> local_action:
> module: ec2
> region: "{{region}}"
> keypair: "{{key_name}}"
> group: "{{security_group}}"
> instance_type: "{{instance_type}}"
> image: "{{image}}"
> count: "{{cluster_nodes}}"
> volumes:
> - device_name: /dev/xvdb
> ephemeral: ephemeral0
> - device_name: /dev/xvdc
> ephemeral: ephemeral1
> wait: yes
> register: ec2_cluster
>
>
>
>
>
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/b801a234-93d9-4477-8bdb-4621eea5e1c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.