.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:
parent
3acf511d08
commit
372facb8d9
3
.bashrc
3
.bashrc
@ -27,6 +27,9 @@ HISTCONTROL=ignoreboth
|
|||||||
HISTIGNORE='ls:bg:fg:history'
|
HISTIGNORE='ls:bg:fg:history'
|
||||||
PROMPT_COMMAND="$TITLEBAR"
|
PROMPT_COMMAND="$TITLEBAR"
|
||||||
|
|
||||||
|
# look for Ansible hosts file in current directory
|
||||||
|
ANSIBLE_HOSTS=hosts
|
||||||
|
|
||||||
# If a private bin directory exists, add it to PATH
|
# If a private bin directory exists, add it to PATH
|
||||||
[[ -d ~/bin ]] && PATH="$PATH:~/bin"
|
[[ -d ~/bin ]] && PATH="$PATH:~/bin"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user