From 4ff43caffd5acea6b7db3a4b48eadeb0e4a944af Mon Sep 17 00:00:00 2001
From: spisarski <s.pisarski@cablelabs.com>
Date: Tue, 13 Dec 2016 14:37:23 -0700
Subject: Adding installation of ansible and dependencies to host attempting to
 execute <apex>/ci/run_smoke_tests.sh. Also fixed the filename that contains
 the test stdout/stderr output from snoke-tests.out to smoke-tests.out

JIRA: APEX-373

Change-Id: I7ef68ae09c100e4e7466a10bb8e22279d9a6b41e
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
---
 ci/run_smoke_tests.sh                    | 7 +++++++
 tests/smoke_tests/execute_smoke_tests.sh | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/ci/run_smoke_tests.sh b/ci/run_smoke_tests.sh
index 8985ed86..7cbd390d 100755
--- a/ci/run_smoke_tests.sh
+++ b/ci/run_smoke_tests.sh
@@ -4,5 +4,12 @@ source ../lib/utility-functions.sh
 
 export ANSIBLE_HOST_KEY_CHECKING=False
 
+./dev_dep_check.sh
+
+yum install python-devel -y
+yum install openssl-devel -y
+easy_install pip
+pip install ansible
+
 echo 'See ~stack/smoke-tests.out on the undercloud for result log'
 ansible-playbook -i "$(get_undercloud_ip)," ../tests/smoke_tests/smoke_tests.yml
diff --git a/tests/smoke_tests/execute_smoke_tests.sh b/tests/smoke_tests/execute_smoke_tests.sh
index 5ebbf3a4..a9a7b740 100755
--- a/tests/smoke_tests/execute_smoke_tests.sh
+++ b/tests/smoke_tests/execute_smoke_tests.sh
@@ -1,3 +1,3 @@
 #!/usr/bin/env bash
 
-python ~/snaps/snaps/unit_test_suite.py -e ~stack/overcloudrc -n external -l INFO &> ~stack/snoke-tests.out
\ No newline at end of file
+python ~/snaps/snaps/unit_test_suite.py -e ~stack/overcloudrc -n external -k -l INFO &> ~stack/smoke-tests.out
\ No newline at end of file
-- 
cgit