Add local ansible to PATH
This commit is contained in:
parent
28a5ed4465
commit
414d50abb3
1 changed files with 1 additions and 6 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue