# ec2\_ami : FAILED! =\> {"changed": false, "failed": true, "msg": "unsupported parameter for module: root\_device\_name"}

**URL:** <https://forum.ansible.com/t/ec2-ami-failed-changed-false-failed-true-msg-unsupported-parameter-for-module-root-device-name/24503>\
**Category:** Ansible Project\
**Tags:** ansible-project\
**Created:** [May 17, 2017, 7:23am UTC](https://forum.ansible.com/t/ec2-ami-failed-changed-false-failed-true-msg-unsupported-parameter-for-module-root-device-name/24503 "2017-05-17T07:23:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dick\_Visser](https://avatars.discourse-cdn.com/v4/letter/d/d9b06d/32.png) [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Post date:** [May 17, 2017, 7:23am UTC](https://forum.ansible.com/t/ec2-ami-failed-changed-false-failed-true-msg-unsupported-parameter-for-module-root-device-name/24503/1 "2017-05-17T07:23:19Z")

</div>

I've never used ec2\_ami myself but according to the docs on  
[http://docs.ansible.com/ansible/ec2\_ami\_module.html](http://docs.ansible.com/ansible/ec2_ami_module.html) root\_device\_name  
is available since ansible 2.3.

I guess you're using an older version?

Dick
