From 2ba39fcf8c3fb5257fca741567faac6fdd767b78 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Fri, 15 Apr 2022 04:17:40 +0900 Subject: [PATCH] Update pip example with standard lowercase http[s]_proxy env vars (#77515) --- lib/ansible/modules/pip.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/ansible/modules/pip.py b/lib/ansible/modules/pip.py index 21327bc7b54..c71a857b2ed 100644 --- a/lib/ansible/modules/pip.py +++ b/lib/ansible/modules/pip.py @@ -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+)