Hey all,

I'm just trying out the ec2_lc stuff and it appears to be non-functioning. 
I tried the following:

    - ec2_lc:
        name=special
        image_id="ami-XXX"
        key_name=default
        security_groups='group,group2'

But I get this error:

TASK: [ec2_lc name=special image_id="ami-XXX" key_name=default 
security_groups='group,group2'] ***
failed: [127.0.0.1] => {"failed": true, "parsed": false}
invalid output was: Traceback (most recent call last):
  File "~/.ansible/tmp/ansible-tmp-1394808739.09-69351858807498/ec2_lc", 
line 1477, in <module>
    main()
  File "~/.ansible/tmp/ansible-tmp-1394808739.09-69351858807498/ec2_lc", 
line 1473, in main
    create_launch_config(connection, module)
  File "~/.ansible/tmp/ansible-tmp-1394808739.09-69351858807498/ec2_lc", 
line 1432, in create_launch_config
    connection.create_launch_configuration(lc)
AttributeError: 'NoneType' object has no attribute 
'create_launch_configuration'


FATAL: all hosts have already failed -- aborting

So I then tried it exactly as detailed here:
http://docs.ansible.com/ec2_lc_module.html

- ec2_lc: >
        name: special
        image_id: ami-XXX
        key_name: default
        security_groups: 'group,group2'

And then I got this:

TASK: [ec2_lc name: special image_id: ami-XXX key_name: default 
security_groups: 'group,group2'] ***
failed: [127.0.0.1] => {"failed": true}
msg: this module requires key=value arguments (['name:', 'special', 
'image_id:', 'ami-XXX', 'key_name:', 'default', 'security_groups:', 
'group,group2'])

FATAL: all hosts have already failed -- aborting

Am I doing something wrong or am i just the first person to be using this 
and its currently a non-functioning module?

Cheers!!

Tim


-- 
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/c0829985-6a14-4fa1-b8ee-1a9cdbb326e1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to