From: Oleg Broytman Date: Fri, 2 Jan 2026 15:18:38 +0000 (+0300) Subject: Feat(run-playbook): Redirect stderr to stdout X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=254d1a11ab7626cf462ea0aebf67865f77b08108;p=ansible.git Feat(run-playbook): Redirect stderr to stdout Do not distort the screen and allow `less` to scroll. Do not hide errors behind the pager. --- diff --git a/playbooks/run-playbook b/playbooks/run-playbook index 00658a3..61984f7 100755 --- a/playbooks/run-playbook +++ b/playbooks/run-playbook @@ -9,4 +9,4 @@ if which less >/dev/null 2>&1; then LESS="S$LESS" fi -ansible-playbook "$@" -v | ${PAGER:-more} +ansible-playbook "$@" -v 2>&1 | ${PAGER:-more}