Skip to content

Commit

Permalink
updated ansible.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
HariSekhon committed Feb 23, 2024
1 parent 7894992 commit a7577a5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .bash.d/ansible.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@ bash_tools="${bash_tools:-$(dirname "${BASH_SOURCE[0]}")/..}"
# shellcheck disable=SC1090,SC1091
#type add_PATH &>/dev/null || . "$bash_tools/.bash.d/paths.sh"

# env var takes preference, then cwd, then $HOME, then /etc/ansible/ansible.cfg
#
# the default order is:
# order of precedence:
#
# $ANSIBLE_CONFIG
# $PWD/ansible.cfg
# $HOME/.ansible.cfg
# /etc/ansible/ansible.cfg
#
#
# so don't set this because it'll cause issues in work repos which would otherwise default to $PWD/ansible.cfg
# so don't set ANSIBLE_CONFIG because it'll cause issues in work repos
# which would otherwise correctly default to $PWD/ansible.cfg
#
#export ANSIBLE_CONFIG=~/.ansible.cfg # symlinked to $bash_tools/configs/.ansible.cfg

Expand Down

0 comments on commit a7577a5

Please sign in to comment.