ansible/ansible — pull request #6847 by atlashealth (2014-04-03 18:34:51+00:00)
Title: ec2_vol: adds ability to list existing volumes

Extends ec2_vol to support the listing of volumes for a given instance id.

Why is this needed? The built-in facts (and ec_facts module) don't expose EC2 volume id's, which may be needed for other tasks. This feature was modeled on the "list" functionality in https://github.com/ansible/ansible/blob/devel/library/cloud/ec2_tag.