[copr] updating terminatepb

This commit is contained in:
Valentin Gologuzov 2015-04-03 18:39:16 +02:00
parent b8c6ca3c89
commit 0da70720ea
2 changed files with 18 additions and 1 deletions

View file

@ -0,0 +1,17 @@
- name: terminate instance
hosts: 127.0.0.1
gather_facts: False
vars_files:
- nova_cloud_vars.yml
tasks:
- name: terminate nova_compute
local_action:
module: nova_compute
auth_url: "{{OS_AUTH_URL}}"
login_username: "{{OS_USERNAME}}"
login_password: "{{OS_PASSWORD}}"
login_tenant_name: "{{OS_TENANT_NAME}}"
name: "{{ vm_name }}"
state: absent

View file

@ -21,7 +21,7 @@ group0_archs=i386,x86_64
group0_spawn_playbook=/home/copr/provision/builderpb_nova.yml
# path to ansible playbook which terminate builder
# default is /etc/copr/terminate_playbook.yml
group0_terminate_playbook=/home/copr/provision/terminatepb.yml
group0_terminate_playbook=/home/copr/provision/terminatepb_nova.yml
group0_max_workers=4