Update pip example with standard lowercase http[s]_proxy env vars (#77515)

pull/77546/head
Junegunn Choi 4 years ago committed by GitHub
parent 2fc73a9dc3
commit 2ba39fcf8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -159,12 +159,11 @@ EXAMPLES = '''
- bottle>0.10,<0.20,!=0.11
- name: Install python package using a proxy
# Pip doesn't use the standard environment variables, please use the CAPITALIZED ones below
ansible.builtin.pip:
name: six
environment:
HTTP_PROXY: '127.0.0.1:8080'
HTTPS_PROXY: '127.0.0.1:8080'
http_proxy: 'http://127.0.0.1:8080'
https_proxy: 'https://127.0.0.1:8080'
# You do not have to supply '-e' option in extra_args
- name: Install MyApp using one of the remote protocols (bzr+,hg+,git+,svn+)

Loading…
Cancel
Save