fix up the action for terminating

This commit is contained in:
Seth Vidal 2012-11-28 21:12:43 +00:00
parent 0fb038bfc5
commit 40ecf11a1f

View file

@ -5,12 +5,12 @@
gather_facts: False
tasks:
- name: find the instance id from the
- name: find the instance id from the builder
action: command curl -s http://169.254.169.254/latest/meta-data/instance-id
register: instanceid
- name: terminate it
local_action: euca-terminate-instances ${instanceid.stdout}
local_action: command euca-terminate-instances ${instanceid.stdout}