Adjust method for trimming ansible output debug information
This patch adjusts the method introduced in I98fb57a56c1b7ddd6558e265cf6e65b159a05123 to trim the debug information from the ansible output. This adjustment allows the output to come to the console immediately, instead of piping to a file and doing the processing after the ansible run is complete. Change-Id: I515adcad34ef76b8ea47fe90bc6572fb3aec1d2c Partial-bug: #1425482
This commit is contained in:
parent
eec5548a9f
commit
ed090eb109
@ -82,9 +82,7 @@ if [ "${RUN_PLAYBOOKS}" == "yes" ]; then
|
||||
print
|
||||
}
|
||||
"
|
||||
source $(dirname ${0})/run-playbooks.sh > ansible-logs.tmp
|
||||
awk "${strip_debug}" < ansible-logs.tmp
|
||||
rm -f ansible-logs.tmp
|
||||
bash $(dirname ${0})/run-playbooks.sh | awk "${strip_debug}"
|
||||
fi
|
||||
|
||||
# Run the tempest tests if required
|
||||
|
Loading…
x
Reference in New Issue
Block a user