use the ec2key options to ec2_create

This commit is contained in:
Seth Vidal 2012-10-25 21:11:25 +00:00
parent 645bc6d72a
commit 9e4c2267a6

View file

@ -5,7 +5,7 @@
ignore_errors: true
- name: spin it up
local_action: ec2_create keypair=${keypair} image=${image} type=${instance_type} wait=true group=${security_group}
local_action: "ec2_create keypair=${keypair} image=${image} type=${instance_type} wait=true group=${security_group} ec2_access_key=${fedora_admin_access_key} ec2_secret_key=${fedora_admin_secret_key} ec2_url=http://209.132.184.1:8773/services/Eucalyptus"
register: inst_res
only_if: "'${host_is_up.rc}' != '0'"