From 372facb8d9849b59bc985cbfb7fb7e267f23daaa Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Sun, 5 Oct 2014 14:15:48 +0300 Subject: [PATCH] .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 --- .bashrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.bashrc b/.bashrc index 969476a..2a56cfb 100644 --- a/.bashrc +++ b/.bashrc @@ -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"