From 9f87a197cc724b9f9154db1721ae03b7bb6cdf6a Mon Sep 17 00:00:00 2001 From: Dawid Dziurla Date: Mon, 6 Apr 2020 23:51:22 +0200 Subject: [PATCH] main: trim newlines from command --- main.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.sh b/main.sh index 3397286..851b4af 100755 --- a/main.sh +++ b/main.sh @@ -46,6 +46,6 @@ fi export ANSIBLE_HOST_KEY_CHECKING=False export ANSIBLE_FORCE_COLOR=True -echo "[command]ansible-playbook $options $playbook" +echo "[command]ansible-playbook $options $playbook" | tr -d '\n' ansible-playbook $options $playbook