copr-be-dev: vm-aws-new needs copr_task.vm_name, too
This commit is contained in:
parent
63d66a3311
commit
a38bea22b1
1 changed files with 3 additions and 1 deletions
|
@ -59,7 +59,9 @@ test -n "$opt_arch" || show_help 1
|
|||
playbook=/var/lib/resallocserver/provision/builderpb-aws-"$opt_arch".yml
|
||||
|
||||
{
|
||||
vm_ip=$(ansible-playbook "$playbook" |& tee >(cat - >&$stderr_fd) \
|
||||
vm_ip=$(ansible-playbook "$playbook" \
|
||||
--extra-vars '{"copr_task": {"vm_name": "'"$RESALLOC_NAME"'"}}' \
|
||||
|& tee >(cat - >&$stderr_fd) \
|
||||
| sed -n 's/.*"VM_IP=\(.*\)"/\1/p' )
|
||||
} {stderr_fd}>&2
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue