Add DebOps aliases
This commit is contained in:
parent
7ab503d799
commit
1d9bb7279b
14
zshrc
14
zshrc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue