mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-19 19:46:38 +08:00
copr-backend: more verbose machine termination
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
die(){ echo >&2 "!! $*"; exit 1; }
|
||||
|
||||
set -x
|
||||
|
||||
test -z "$RESALLOC_NAME" && die "no vm specified, empty \$RESALLOC_NAME variable"
|
||||
|
||||
# Detect the IP we should be talking to.
|
||||
@@ -31,6 +33,7 @@ case $RESALLOC_POOL_ID in
|
||||
;;
|
||||
copr_osuosl_*)
|
||||
# Delegate the rest of this task to an OpenStack specific script.
|
||||
set +x
|
||||
. "{{ provision_directory }}/.rc-osuosl.sh"
|
||||
exec resalloc-openstack-delete --delete-everything "$RESALLOC_NAME"
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user