summaryrefslogtreecommitdiffstats
path: root/controller/bin/dtf-run-remote.in
diff options
context:
space:
mode:
authorPavel Raiskup <praiskup@redhat.com>2014-10-27 10:02:28 +0100
committerPavel Raiskup <praiskup@redhat.com>2014-10-27 10:12:15 +0100
commit9e89d125a84334f0aea38ba780fd56cc4dd7cd5c (patch)
tree93606666f3eadd9c1b274cd8d1e5810b656d56ac /controller/bin/dtf-run-remote.in
parent0c345ec6b2db80b0517e4a63b8eb55333948fcbf (diff)
downloadpostgresql-setup-tests-9e89d125a84334f0aea38ba780fd56cc4dd7cd5c.tar.gz
postgresql-setup-tests-9e89d125a84334f0aea38ba780fd56cc4dd7cd5c.tar.xz
postgresql-setup-tests-9e89d125a84334f0aea38ba780fd56cc4dd7cd5c.zip
controller/dtf-run-remote: start VM via dtf-get-machine
.. rather than by ansible nova_compute module directly. Allows me implement more variability in VM handling. * controller/bin/dtf-get-machine.in: Add --quiet option which causes that only allocated IP is shown. Add also DTF_GET_MACHINE_FAKE_IP variable usable for faster debugging; when set, dtf-get-machine prints its content to standard output without allocating new VM. * controller/bin/dtf-run-remote.in: Add -v (verbose) option to ansible-playbook call to get more verbose output. * controller/share/dtf-controller/ansible/playbooks/fedora.yml: Use dtf-get-machine. Also remove creds file requirement.
Diffstat (limited to 'controller/bin/dtf-run-remote.in')
-rw-r--r--controller/bin/dtf-run-remote.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/controller/bin/dtf-run-remote.in b/controller/bin/dtf-run-remote.in
index d801d28..229097f 100644
--- a/controller/bin/dtf-run-remote.in
+++ b/controller/bin/dtf-run-remote.in
@@ -97,7 +97,7 @@ workdir_prereq
testsuite_name="$(tarball)" || die "can not create dist tarball"
export ANSIBLE_HOST_KEY_CHECKING=False
-ansible-playbook "$run_playbook" \
+ansible-playbook -v "$run_playbook" \
--extra-vars "opt_generated_vars=@ansiblevarsdir@/generated-vars.yml" \
--extra-vars "opt_distro=$opt_distro" \
--extra-vars "opt_distro_ver=$opt_distro_ver" \