diff --git a/roles/home-cli/files/shrc b/roles/home-cli/files/shrc index 78f9741..2b3de63 100644 --- a/roles/home-cli/files/shrc +++ b/roles/home-cli/files/shrc @@ -9,6 +9,7 @@ PATH="/usr/sbin:/sbin:/usr/bin:/bin" for dir in $HOME/bin \ $HOME/.cargo/bin \ $HOME/.gem/ruby/2.6.0/bin \ + $HOME/opt/ansible/bin \ $HOME/opt/centos-git-common \ /usr/X11R7/bin \ /usr/X11R6/bin \ @@ -263,12 +264,6 @@ if [ -x $HOME/opt/go/bin/go ] || [ -x /usr/bin/go ] || [ -x /usr/local/bin/go ]; export PATH="$PATH:$GOPATH" fi -# Use a manually-installed ansible if available. -if [ -x "$HOME/opt/ansible/bin/ansible" ]; then - alias ansible="$HOME/opt/ansible/bin/ansible" - alias ansible-playbook="$HOME/opt/ansible/bin/ansible-playbook" -fi - # Useful aliases for Podman and Docker alias prun="podman run --rm -it" alias prunx="podman run --security-opt label=disable -v /tmp/.X11-unix/:/tmp/.X11-unix/ -e DISPLAY=\"unix\$DISPLAY\" -v /run/user/$(id -u)/:/run/user/$(id -u)/ -e XDG_RUNTIME_DIR=/run/user/$(id -u) -e PULSE_SERVER=/run/user/$(id -u)/pulse/native --ipc host"