From b0135b4da08a302ed317b80dbe33cba60cbc45d3 Mon Sep 17 00:00:00 2001 From: SebClem Date: Sat, 22 Apr 2023 11:56:05 +0200 Subject: [PATCH] Clean ansible.cfg --- entrypoint | 2 ++ 1 file changed, 2 insertions(+) diff --git a/entrypoint b/entrypoint index 2e10417..65ef3a2 100755 --- a/entrypoint +++ b/entrypoint @@ -38,6 +38,8 @@ if [ -n "$PLUGIN_VAULT_TOKEN" ]; then run_command "mkdir credentials" echo "$PLUGIN_VAULT_TOKEN" > credentials/ci_vault_token args+=("--vault-password-file=credentials/ci_vault_token") + echo "⚙️ Clean ansible.cfg" + run_command "sed -i '/vault_password_file.*/d' ./ansible.cfg" echo "" fi