ec2_ami device_mapping is failing on version 2.7 but not 2.4 #49515
Labels
affects_2.7
This issue/PR affects Ansible v2.7
aws
bug
This issue/PR relates to a bug.
cloud
module
This issue/PR relates to a module.
needs_info
This issue requires further information. Please answer any outstanding questions.
support:community
This issue/PR relates to code supported by the Ansible community.
traceback
This issue/PR includes a traceback.
SUMMARY
ec2_ami fails when using device_mapping
ISSUE TYPE
COMPONENT NAME
ec2_ami
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
[tt@localhost ansible]$ cat /etc/redhat-release
CentOS Linux release 7.5.1804 (Core)
[tt@localhost ansible]$ uname -a
Linux localhost.localdomain 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
STEPS TO REPRODUCE
Using the ec2_ami module with AMI Creation, excluding a volume attached
EXPECTED RESULTS
Register new AMI with name "new_image_v1" which excludes /dev/xvdb in the AMI. Here is the result
using ansible version 2.4.2
ACTUAL RESULTS
Error is thrown for invalid parameter on the device_mapping
The text was updated successfully, but these errors were encountered: