We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e29b2e commit 43a4f93Copy full SHA for 43a4f93
.bash.d/ansible.sh
@@ -30,7 +30,6 @@ bash_tools="${bash_tools:-$(dirname "${BASH_SOURCE[0]}")/..}"
30
# $HOME/.ansible.cfg
31
# /etc/ansible/ansible.cfg
32
#
33
-#
34
# so don't set ANSIBLE_CONFIG because it'll cause issues in work repos
35
# which would otherwise correctly default to $PWD/ansible.cfg
36
@@ -43,9 +42,10 @@ if [ -n "${ANSIBLE_HOME:-}" ]; then
43
42
#add_PATH MANPATH "$ANSIBLE_HOME/docs/man"
44
fi
45
46
-if [ -f ~/etc/ansible/hosts ]; then
47
- export ANSIBLE_HOSTS=~/etc/ansible/hosts
48
-fi
+# don't set this in case it causes issues in work repos
+#if [ -f ~/etc/ansible/hosts ]; then
+# export ANSIBLE_HOSTS=~/etc/ansible/hosts
+#fi
49
50
# set in ~/.ansible.cfg now
51
#export ANSIBLE_HOST_KEY_CHECKING=False
0 commit comments