Fix sed command
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/deployment/woodpecker Pipeline was successful

This commit is contained in:
SebClem 2023-04-22 12:10:20 +02:00
parent b0135b4da0
commit 33754d87f8
Signed by: sebclem
GPG Key ID: 5A4308F6A359EA50

View File

@ -39,7 +39,8 @@ if [ -n "$PLUGIN_VAULT_TOKEN" ]; then
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 "➡️ sed -i '/vault_password_file.*/d' ./ansible.cfg"
sed -i '/vault_password_file.*/d' ./ansible.cfg
echo ""
fi