We managed to get them created as gp2, with the "ec2" module, looks like the "ec2_vol" module cannot do that.
Now, next issue: How can you tag volumes created via the "ec2" module (with "ec2_vol", you could register the volumes, then tag them, but I can't seem to be able to register volumes with the "ec2" module) ??
--
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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/85fdee69-bd61-43ad-b36d-58afcbd640d2%40googlegroups.com.
local_action:
module: ec2
key_name: mykey
group: webserver
instance_type: m1.large
image: ami-6e649707
wait: yes
wait_timeout: 500
volumes:
- device_name: /dev/sdb
snapshot: snap-abcdef12
device_type: io1
iops: 1000
volume_size: 100
delete_on_termination: true
--
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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/abae8261-085b-4c56-9e6c-e85f72ff2f2c%40googlegroups.com.