Hi All,

I got this error when I ran my ansible playbook, I have some EBS volumes 
with Not Encrypted sets, and looks like ec2_vol_facts.py failed when 
 'encrypted': volume.encrypted is false.


AILED! => {"changed": false, "failed": true, "module_stderr": "Shared 
connection to 10.42.8.218 closed.\r\n", "module_stdout": "Traceback (most 
recent call last):\r\n  File 
\"/tmp/ansible_GM8k6d/ansible_module_ec2_vol_facts.py\", line 142, in 
<module>\r\n    main()\r\n  File 
\"/tmp/ansible_GM8k6d/ansible_module_ec2_vol_facts.py\", line 138, in 
main\r\n    list_ec2_volumes(connection, module)\r\n  File 
\"/tmp/ansible_GM8k6d/ansible_module_ec2_vol_facts.py\", line 110, in 
list_ec2_volumes\r\n   
 volume_dict_array.append(get_volume_info(volume))\r\n  File 
\"/tmp/ansible_GM8k6d/ansible_module_ec2_vol_facts.py\", line 80, in 
get_volume_info\r\n    'encrypted': volume.encrypted,\r\nAttributeError: 
'Volume' object has no attribute 'encrypted'\r\n", "msg": "MODULE FAILURE"}



Any idea?


Thanks 

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/c73160e6-5e34-4d03-81f6-47199e61b14d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to