Ensure debops host function apply to one host/group
This commit is contained in:
parent
7efbbd271d
commit
447675b01a
4
zshrc
4
zshrc
|
@ -316,7 +316,11 @@ function tasec() {
|
||||||
alias deal="debops"
|
alias deal="debops"
|
||||||
## Limit to a define host/group
|
## Limit to a define host/group
|
||||||
function deho() {
|
function deho() {
|
||||||
|
if [ ${ANS_HOST} ]; then
|
||||||
debops -l "${ANS_HOST}"
|
debops -l "${ANS_HOST}"
|
||||||
|
else
|
||||||
|
printf '%b' "${MAGENTA}ANS_HOST${RESET} vars is ${REDB}not${RESET} define !\n"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
## Limit to a define host/group and to a role
|
## Limit to a define host/group and to a role
|
||||||
function dero() {
|
function dero() {
|
||||||
|
|
Loading…
Reference in New Issue