From 701d3715ac1842d287ccae48b3e8c13cc3583dd3 Mon Sep 17 00:00:00 2001 From: SebClem Date: Fri, 4 Mar 2022 16:19:53 +0100 Subject: [PATCH] :hammer: remove double quote --- entrypoint | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/entrypoint b/entrypoint index e00a050..f968858 100755 --- a/entrypoint +++ b/entrypoint @@ -14,14 +14,14 @@ if [[ -z "$PLUGIN_PLAYBOOK" ]]; then exit 1 fi -if [[ -z "$PLUGIN_PRIVATE_KEY" ]]; then - echo -e "\e[31m[WARN] 'private_key' setting not defined !\e[39m" -else +# if [[ -z "$PLUGIN_PRIVATE_KEY" ]]; then +# echo -e "\e[31m[WARN] 'private_key' setting not defined !\e[39m" +# else - run_command "mkdir /root/.ssh" - echo "$PLUGIN_PRIVATE_KEY" > /root/.ssh/id_ed25519 - run_command chmod 400 /root/.ssh/id_ed25519 -fi +# run_command "mkdir /root/.ssh" +# echo "$PLUGIN_PRIVATE_KEY" > /root/.ssh/id_ed25519 +# run_command chmod 400 /root/.ssh/id_ed25519 +# fi args=("$PLUGIN_PLAYBOOK") @@ -57,11 +57,11 @@ if [[ $verbosity != "0" ]]; then fi if [[ -n "$PLUGIN_LIMIT" ]]; then - args+=("--limit" "\"$PLUGIN_LIMIT\"") + args+=("--limit" "$PLUGIN_LIMIT") fi if [[ -n "$PLUGIN_TAGS" ]]; then - args+=("--tags" "\"$PLUGIN_TAGS\"") + args+=("--tags" "$PLUGIN_TAGS") fi run_command "export ANSIBLE_HOST_KEY_CHECKING=False"