diff --git a/zshrc b/zshrc index 341efff..3b0cbf1 100644 --- a/zshrc +++ b/zshrc @@ -317,8 +317,8 @@ zstyle ':completion:*:*:task:*' group-name '' # }}} # DebOps {{{ -## Apply all config to all hosts -alias deal="debops" +## Apply all config to all hosts except the new cluster nodes +alias deal="debops -l 'debops_all_hosts:!physix'" ## Limit to a define host/group function deho() { if [ ${ANS_HOST} ]; then @@ -331,6 +331,8 @@ function deho() { function dero() { debops -l "${ANS_HOST}" -t role::"${1}" } +## Apply only on new cluster nodes +alias decc="debops -l 'physix'" # }}}