From fa2afcbd6b99284b45cb7685b21c2df394cf4554 Mon Sep 17 00:00:00 2001 From: Dawid Dziurla Date: Sat, 21 Mar 2020 17:10:07 +0100 Subject: [PATCH] main: make options be in one line and print them --- main.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/main.sh b/main.sh index ec7ce01..7e59c9b 100755 --- a/main.sh +++ b/main.sh @@ -17,6 +17,11 @@ if test -n "$key"; then chmod 400 ~/.ssh/id_rsa fi +if test -n "$options"; then + options="$(echo "$options" | tr '\n' ' ')" + echo "OPTIONS: $options" +fi + export ANSIBLE_HOST_KEY_CHECKING=False export ANSIBLE_FORCE_COLOR=True