Clean ansible.cfg
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 11:56:05 +02:00
parent 4a9f6f565e
commit b0135b4da0
Signed by: sebclem
GPG Key ID: 5A4308F6A359EA50

View File

@ -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