[copr] updating terminatepb
This commit is contained in:
parent
b8c6ca3c89
commit
0da70720ea
2 changed files with 18 additions and 1 deletions
17
roles/copr/backend/files/provision/terminatepb_nova.yml
Normal file
17
roles/copr/backend/files/provision/terminatepb_nova.yml
Normal 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
|
|
@ -21,7 +21,7 @@ group0_archs=i386,x86_64
|
||||||
group0_spawn_playbook=/home/copr/provision/builderpb_nova.yml
|
group0_spawn_playbook=/home/copr/provision/builderpb_nova.yml
|
||||||
# path to ansible playbook which terminate builder
|
# path to ansible playbook which terminate builder
|
||||||
# default is /etc/copr/terminate_playbook.yml
|
# 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
|
group0_max_workers=4
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue