add terminatepb.yml to copr-be

This commit is contained in:
Seth Vidal 2012-11-28 20:39:04 +00:00
parent 177cbb7d92
commit f02e5e6c1f
2 changed files with 17 additions and 0 deletions

View file

@ -0,0 +1,16 @@
---
- name: terminate instance
hosts: all
user: root
gather_facts: False
tasks:
- name: find the instance id from the
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}

View file

@ -122,6 +122,7 @@
with_items:
- inventory
- builderpb.yml
- terminatepb.yml
- name: put files into the files subdir off of provisioning
action: copy src=$item dest=/srv/copr-work/provision/files/