From a4fa70da844f2083756643cc18ff67aeec4b33bd Mon Sep 17 00:00:00 2001 From: l0rd Date: Wed, 8 Jan 2014 16:47:19 +0100 Subject: [PATCH] ansible should use hosts file I tell it to use --- home/.zshrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/home/.zshrc b/home/.zshrc index 5b7daf4..decedc8 100644 --- a/home/.zshrc +++ b/home/.zshrc @@ -56,3 +56,6 @@ alias homeshick="$HOME/.homesick/repos/homeshick/home/.homeshick" if which keychain > /dev/null; then eval `keychain --eval --agents ssh id_rsa` fi + +# Use ansible hosts in local file instead of /etc/ansible/hosts +export ANSIBLE_HOSTS=~/.ansible/ansible_hosts