Compare commits

...

2 Commits

Author SHA1 Message Date
renovate-bot
6ccdc58bf3 Add renovate.json
Some checks reported errors
continuous-integration/drone/push Build was killed
2021-12-15 16:15:58 +00:00
3264c1dab9 🚑 Fix host key checking
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
2021-12-15 17:15:50 +01:00
2 changed files with 11 additions and 5 deletions

View File

@ -9,12 +9,11 @@ if [[ -z "$PLUGIN_PLAYBOOK" ]]; then
fi fi
if [[ -z "$PLUGIN_PRIVATE_KEY" ]]; then if [[ -z "$PLUGIN_PRIVATE_KEY" ]]; then
echo -e "\e[31m'private_key' setting not defined, ABORT!\e[39m" echo -e "\e[31m[WARN] 'private_key' setting not defined !\e[39m"
exit 1 else
fi
echo "$PLUGIN_PRIVATE_KEY" > /root/.ssh/id_ed echo "$PLUGIN_PRIVATE_KEY" > /root/.ssh/id_ed
chmod 400 /root/.ssh/id_ed chmod 400 /root/.ssh/id_ed
fi
if [[ -n "$PLUGIN_VAULT_TOKEN" ]]; then if [[ -n "$PLUGIN_VAULT_TOKEN" ]]; then
echo "Adding vault token to 'credentials/vault_token'" echo "Adding vault token to 'credentials/vault_token'"
@ -48,4 +47,5 @@ if [[ -n "$PLUGIN_LIMIT" ]]; then
fi fi
echo "\$ ansible-playbook $args" echo "\$ ansible-playbook $args"
export ANSIBLE_HOST_KEY_CHECKING=False
ansible-playbook $args ansible-playbook $args

6
renovate.json Normal file
View File

@ -0,0 +1,6 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
]
}