diff --git a/environment b/environment index 106c4d6..1f443ea 100644 --- a/environment +++ b/environment @@ -1 +1,14 @@ +# configure directory for pass PASSWORD_STORE_DIR=`pwd`/password-store; export PASSWORD_STORE_DIR + +# configure http(s) proxy (create a dynamic socks proxy via ssh on port 8888) +http_proxy=socks5://127.0.0.1:8888 +export HTTP_PROXY=$http_proxy +export HTTPS_PROXY=$http_proxy +cat << EOF +configured HTTP_PROXY and HTTPS_PROXY to use a local socks proxy on port 8888 +start with: ssh -D 8888 gw-core01 +EOF + +# enter python virtualenv +. ansible-environment/bin/activate