Closed patlachance closed 8 years ago
@patlachance can you please attach the task that works before the commit and fails after the commit, from the code it seems like even before the commit if a name is not specified and multiples volumes exists in the AZ it would still fail
@bennojoy : please find below the code that was working before and is broken by commit 6b27cdc. Note that I also proposed a fix this morning.
Failure arise when there are more than one volume without a name tag present in EBS
@patlachance i have experienced the issue you reported but I'm not sure how your proposed fix resolves the issue.
I have a PR which has fixes including this one here https://github.com/ansible/ansible-modules-core/pull/2180
Could you test and let me know if it works for you?
Commit 6b27cdc08eba5f2ff817b4e0470dd4b6034012c7 changed the volume creation logic to "find and name" volume at creation time but it breaks some use cases when name is not specified and more than one volumes are present with no name tag.