Browse Source

Merge pull request #77 from noskovao/patch-1

Update etc_environment
tags/2017.4
Filip Pytloun 7 years ago
parent
commit
1e871ba239
1 changed files with 8 additions and 8 deletions
  1. +8
    -8
      linux/files/etc_environment

+ 8
- 8
linux/files/etc_environment View File

@@ -11,22 +11,22 @@
{%- endfor %}

{%- if ftp_proxy and ftp_proxy.lower() != 'none' %}
ftp_proxy="{{ ftp_proxy }}";
FTP_PROXY="{{ ftp_proxy }}";
ftp_proxy="{{ ftp_proxy }}"
FTP_PROXY="{{ ftp_proxy }}"
{%- endif %}

{%- if http_proxy and http_proxy.lower() != 'none' %}
http_proxy="{{ http_proxy }}";
HTTP_PROXY="{{ http_proxy }}";
http_proxy="{{ http_proxy }}"
HTTP_PROXY="{{ http_proxy }}"
{%- endif %}

{%- if https_proxy and https_proxy.lower() != 'none' %}
https_proxy="{{ https_proxy }}";
HTTPS_PROXY="{{ https_proxy }}";
https_proxy="{{ https_proxy }}"
HTTPS_PROXY="{{ https_proxy }}"
{%- endif %}

{%- if no_proxy %}
no_proxy="{{ no_proxy|join(',') }}";
NO_PROXY="{{ no_proxy|join(',') }}";
no_proxy="{{ no_proxy|join(',') }}"
NO_PROXY="{{ no_proxy|join(',') }}"
{%- endif %}


Loading…
Cancel
Save