fix up the action for terminating
This commit is contained in:
parent
0fb038bfc5
commit
40ecf11a1f
1 changed files with 2 additions and 2 deletions
|
@ -5,12 +5,12 @@
|
||||||
gather_facts: False
|
gather_facts: False
|
||||||
|
|
||||||
tasks:
|
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
|
action: command curl -s http://169.254.169.254/latest/meta-data/instance-id
|
||||||
register: instanceid
|
register: instanceid
|
||||||
|
|
||||||
- name: terminate it
|
- name: terminate it
|
||||||
local_action: euca-terminate-instances ${instanceid.stdout}
|
local_action: command euca-terminate-instances ${instanceid.stdout}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue