Commit c3f6973c authored by nimrod's avatar nimrod
Browse files

Alias for running Ansible on all of my hosts.

Just for variety.
parent 14fc9ea5
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -166,6 +166,13 @@ alias wifi-portal='curl --silent --fail --write-out "%{redirect_url}" --output /
alias yellow="printf '\e[1;93m%s\e[0m\n'"
alias xargs="xargs "

ansible_all () {
    pushd ~/Repositories/Shore/homelab || return
    ansible all "$@"
    # shellcheck disable=SC2164
    popd
}

ddg () {
    w3m "https://duckduckgo.com/lite/?q=$(echo "$@" | urlencode)"
}