Would this depend on the AMI being used having a root ssd volume?

I'm unsure of this and would be happily corrected.

On 27 October 2015 at 09:10, Abey Thomas <[email protected]> wrote:

> Hi ,
>
> I am trying to create EC2 instances using ansible module ec2 and the root
> volume gets created as "standard". I would like that to be "gp2"
>
> Below is the play that I am using
>
>     - name: Launch the new EC2 Instance
>     ec2:
>       group: '{{ security_group }}'
>       instance_type: '{{ instance_type}}'
>       image: '{{ image }}'
>       wait: true
>       region: '{{ region }}'
>       vpc_subnet_id: '{{ vpc_subnet_id }}'
>       keypair: '{{ keypair }}'
>       count: 20
>       volumes:
>         - device_name: /dev/sda1
>           volume_type: gp2
>           volume_size: 10
>     register: ec2
>
>
> I can create gp2 volumes using ec2_vol and attach to EC2, however I would
> like my root volume to be gp2. I can create EC2 root volume using AWS
> console from the same AMI.
>
> Is it possible to use gp2 for root volumes ?
>
> Thanks,
> Abey
>
> --
> 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/d4f92299-c3a6-4102-b9b5-45f58146d83b%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/d4f92299-c3a6-4102-b9b5-45f58146d83b%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Steve

-- 
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/CA%2BemtquaesyFensFAhO-AR_sLXKXSwfbzTX%3Dra2iKC%3Dq93Cy3w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to