mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-04 15:47:32 +02:00
Update to 2021-12-01 19:13
This commit is contained in:
12
roles/system_proxy/templates/proxy.sh.j2
Normal file
12
roles/system_proxy/templates/proxy.sh.j2
Normal file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
{% if system_proxy is defined and system_proxy != '' %}
|
||||
export http_proxy={{ system_proxy }}
|
||||
export https_proxy={{ system_proxy }}
|
||||
export ftp_proxy={{ system_proxy }}
|
||||
export HTTP_PROXY={{ system_proxy }}
|
||||
export HTTPS_PROXY={{ system_proxy }}
|
||||
export FTP_PROXY={{ system_proxy }}
|
||||
export no_proxy='{{ system_proxy_no_proxy | join(',') }}'
|
||||
export NO_PROXY='{{ system_proxy_no_proxy | join(',') }}'
|
||||
{% endif %}
|
Reference in New Issue
Block a user