Add .editorconfig & .vault_pass
This commit is contained in:
parent
ac6d8172dd
commit
07f2354317
2 changed files with 29 additions and 0 deletions
18
.editorconfig
Normal file
18
.editorconfig
Normal 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
11
.vault_pass
Executable 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
|
Loading…
Add table
Reference in a new issue