.bashrc: Set path to Ansible hosts file

Look for `hosts` in current directory, so we can always use different
playbooks without having to keep changing depending on the playbook.

Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
Alan Orth 2014-10-05 14:15:48 +03:00
parent 3acf511d08
commit 372facb8d9
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -27,6 +27,9 @@ HISTCONTROL=ignoreboth
HISTIGNORE='ls:bg:fg:history'
PROMPT_COMMAND="$TITLEBAR"
# look for Ansible hosts file in current directory
ANSIBLE_HOSTS=hosts
# If a private bin directory exists, add it to PATH
[[ -d ~/bin ]] && PATH="$PATH:~/bin"