Add DebOps aliases

This commit is contained in:
Jeremy Gardais 2018-03-07 16:32:10 +01:00
parent 7ab503d799
commit 1d9bb7279b
1 changed files with 14 additions and 0 deletions

14
zshrc
View File

@ -304,6 +304,20 @@ function tase() {
# }}}
# DebOps {{{
## Apply all config to all hosts
alias deal="debops --ask-vault-pass"
## Limit to a define host/group
alias deho="debops --ask-vault-pass -l ${ANS_HOST}"
## Limit to a define host/group and to a role
function dero() {
debops --ask-vault-pass -l "${ANS_HOST}" -t role::"${1}"
}
# }}}
#######################################
#Ouverture d'un programme en fonction
#de l'extension du fichier