This is silly, but try it anyhow.

This commit is contained in:
Kevin Fenzi 2014-01-31 23:37:44 +00:00
parent 5ee49f57fb
commit 203aff15b9

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 }}
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=='
register: inst_res
- name: add it to the special group