Enable unbuffered output for ansible
This will allow ansible to output to the console log in realtime. Closes-Bug: #1569769 Change-Id: If4e4ccd9911d9fa9031eed8419bb5a1367c99e49 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
928551ba83
commit
b700fc44fb
@ -3,6 +3,9 @@
|
||||
set -o xtrace
|
||||
set -o errexit
|
||||
|
||||
# Enable unbuffered output for Ansible in Jenkins.
|
||||
export PYTHONUNBUFFERED=1
|
||||
|
||||
# Just for mandre :)
|
||||
if [[ ! -f /etc/sudoers.d/jenkins ]]; then
|
||||
echo "jenkins ALL=(:docker) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/jenkins
|
||||
|
Loading…
Reference in New Issue
Block a user