need to specify a securit group
This commit is contained in:
parent
25ac8b2641
commit
645bc6d72a
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
|||
ignore_errors: true
|
||||
|
||||
- name: spin it up
|
||||
local_action: ec2_create keypair=${keypair} image=${image} type=${instance_type} wait=true
|
||||
local_action: ec2_create keypair=${keypair} image=${image} type=${instance_type} wait=true group=${security_group}
|
||||
register: inst_res
|
||||
only_if: "'${host_is_up.rc}' != '0'"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue