Skip to content

Commit 43a4f93

Browse files
committed
updated ansible.sh
1 parent 9e29b2e commit 43a4f93

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.bash.d/ansible.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ bash_tools="${bash_tools:-$(dirname "${BASH_SOURCE[0]}")/..}"
3030
# $HOME/.ansible.cfg
3131
# /etc/ansible/ansible.cfg
3232
#
33-
#
3433
# so don't set ANSIBLE_CONFIG because it'll cause issues in work repos
3534
# which would otherwise correctly default to $PWD/ansible.cfg
3635
#
@@ -43,9 +42,10 @@ if [ -n "${ANSIBLE_HOME:-}" ]; then
4342
#add_PATH MANPATH "$ANSIBLE_HOME/docs/man"
4443
fi
4544

46-
if [ -f ~/etc/ansible/hosts ]; then
47-
export ANSIBLE_HOSTS=~/etc/ansible/hosts
48-
fi
45+
# don't set this in case it causes issues in work repos
46+
#if [ -f ~/etc/ansible/hosts ]; then
47+
# export ANSIBLE_HOSTS=~/etc/ansible/hosts
48+
#fi
4949

5050
# set in ~/.ansible.cfg now
5151
#export ANSIBLE_HOST_KEY_CHECKING=False

0 commit comments

Comments
 (0)