git alias and ansible-vault hack

- git alias to push to all remote whatever their name is
- ansible-vault hack to print all secret strings from a ansible file
  with a mix of secrets and cleartext informations
This commit is contained in:
MorganGeek
2020-06-24 16:59:50 +02:00
parent 409b3695f8
commit f1e6fe7c0f
3 changed files with 18 additions and 3 deletions

View File

@ -13,6 +13,7 @@ alias lzd='lazydocker'
alias setorigin='grset origin'
alias neworigin='setorigin'
alias origin='setorigin'
alias gpar='gitpushallremote'
# Jira
alias jirasearch='issues'
@ -73,8 +74,8 @@ alias m='mgmt'
alias tunnel='ssh -D 8000 -N $(whoami)@$PROXY_HOST -i ~/.ssh/id_ed25519'
alias sshpub='cat ~/.ssh/id_ed25519.pub'
alias ssla="openssl x509 -alias -noout -in" # Usage : ssla <cert>
alias encrypt='ansible-vault encrypt **/vault.yml --vault-password-file=~/.vaultpass'
alias decrypt='ansible-vault decrypt **/vault.yml --vault-password-file=~/.vaultpass'
alias encrypt='ansible-vault encrypt **/vault.yml --vault-password-file=$VAULT_PASSWORD_FILE'
alias decrypt='ansible-vault decrypt **/vault.yml --vault-password-file=$VAULT_PASSWORD_FILE'
alias newpass='bw generate --special --uppercase --lowercase --number --length 30'
# Network