Yes, it's not clear. And is made worse by the fact that there are STILL no ec2_instance examples! The examples given are ec2_instance_facts examples.
Regard, K. On Sun, Aug 12, 2018 at 10:57 AM, Bruce Affonso <[email protected]> wrote: > I am trying to use the ec2_instance module to create an ec2 instance. > When using the ec2 module to configure a volume one would do something like > this: > > volumes: > - device_name: /dev/sda1 > volume_type: gp2 > volume_size: 50 > > With ec2_instance I am not sure how to set the values. > > In the description it says: > > A list of block device mappings, by default this will always use the AMI > root device so the volumes option is primarily for adding more storage. > A mapping contains the (optional) keys device_name, virtual_name, > ebs.device_type, ebs.device_size, ebs.kms_key_id, ebs.iops, and > ebs.delete_on_termination. > > Please let me know how I would set the info from above example using the > ec2_instance module. > > Thank you > > -- > 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/82ba8db3-ed16-4230-9eaa-743a74fbebe0%40googlegroups. > com > <https://groups.google.com/d/msgid/ansible-project/82ba8db3-ed16-4230-9eaa-743a74fbebe0%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Karl Auer Email : [email protected] Website: http://2pisoftware.com GPG/PGP : 958A 2647 6C44 D376 3D63 86A5 FFB2 20BC 0257 5816 Previous: F0AB 6C70 A49D 1927 6E05 81E7 AD95 268F 2AB6 40EA -- 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%2B%2BT08S7vzfM%2BcJRttJKoW7uUYzuSpu_jbkaASZPsPOJYN7zwQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
