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. It also ensures that the return code passes through the
output trimming.
This commit combines the following cherry-picks:
- ed090eb1094472dcef755e6ca319310e5a0e7eac
- b76d43e8c60bcb3060ee4ee99b6fac8acf0650fb
Reviewed: https:/ /review. openstack. org/163809 /git.openstack. org/cgit/ stackforge/ os-ansible- deployment/ commit/ ?id=67be3d09aa0 43df4411aced6f5 5131c65a361f0c
Committed: https:/
Submitter: Jenkins
Branch: juno
commit 67be3d09aa043df 4411aced6f55131 c65a361f0c
Author: Jesse Pretorius <email address hidden>
Date: Thu Mar 12 11:26:07 2015 +0000
Adjust method for trimming ansible output debug information
This patch adjusts the method introduced in 1b7ddd6558e265c f6e65b159a05123 to trim the debug information
I98fb57a56c
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. It also ensures that the return code passes through the
output trimming.
This commit combines the following cherry-picks: cef755e6ca31931 0e5a0e7eac 060ee4ee99b6fac 8acf0650fb
- ed090eb1094472d
- b76d43e8c60bcb3
Partial-bug: #1425482 b8ea47fe90bc657 2fb3aec1d2c
Closes-bug: #1432295
Co-Authored-By: Hugh Saunders <email address hidden>
Change-Id: I515adcad34ef76