15 lines
462 B
Plaintext
15 lines
462 B
Plaintext
# 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
|