Perhaps this

This commit is contained in:
Kevin Fenzi 2014-01-31 23:42:08 +00:00
parent 203aff15b9
commit 15f596183f

View file

@ -1,6 +1,6 @@
---
- name: spin it up
local_action: ec2 keypair={{ keypair }} image={{ image }} type={{ instance_type }} wait=true group={{ security_group }} ec2_access_key={{ transient_access_key }} ec2_secret_key={{ transient_secret_key }} ec2_url={{ os_ec2_url }} user_data='I2Nsb3VkLWNvbmZpZyAKZGlzYWJsZV9yb290OiAwCg=='
local_action: ec2 keypair={{ keypair }} image={{ image }} type={{ instance_type }} wait=true group={{ security_group }} ec2_access_key={{ transient_access_key }} ec2_secret_key={{ transient_secret_key }} ec2_url={{ os_ec2_url }} user_data='I2Nsb3VkLWNvbmZpZwpkaXNhYmxlX3Jvb3Q6IDAK'
register: inst_res
- name: add it to the special group