Add .editorconfig & .vault_pass

This commit is contained in:
saibotk 2020-08-10 02:06:18 +02:00
parent ac6d8172dd
commit 07f2354317
No known key found for this signature in database
GPG key ID: A3299C587D5DF523
2 changed files with 29 additions and 0 deletions

18
.editorconfig Normal file
View file

@ -0,0 +1,18 @@
# http://editorconfig.org
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
[*.md]
insert_final_newline = false
trim_trailing_whitespace = false
[*.{yaml,yml}]
indent_size = 2
indent_style = space

11
.vault_pass Executable file
View file

@ -0,0 +1,11 @@
#!/bin/sh
if [ "$CI_VAULT_PASS" != "" ]; then
echo "$CI_VAULT_PASS"
exit 0
fi
if command -v pass >/dev/null 2>&1; then
pass show server/ansible-vault
exit 0
fi