While running the latest development release I’m getting the error:
invalid output was: Traceback (most recent call last):
File “/root/.ansible/tmp/ansible-1387976056.03-218115800862115/ec2_vol”, line 1324, in
main()
File “/root/.ansible/tmp/ansible-1387976056.03-218115800862115/ec2_vol”, line 207, in main
volume = ec2.create_volume(volume_size, zone, None, volume_type, iops)
TypeError: create_volume() takes at most 4 arguments (6 given)
My task is:
- name: create a volume for the dbs
local_action:
module: ec2_vol
instance: “{{item.id}}”
volume_size: 100
region: “{{ec2_region}}”
with_items: ec2.instances