Enable usage of no_proxy on install
http_proxy and https_proxy are passed as enviroment variable, while no_proxy is not taken into account during bifrost installation. This patch add no_proxy environment variable to Ansible. Change-Id: I5eaaf86ff08ca7189aa63b0a709be48e189b5f7c Closes-Bug: #1708322
This commit is contained in:
parent
bc0a12dfff
commit
dd9782d20e
@ -176,8 +176,8 @@ to set ``create_image_via_dib`` to ``true``.
|
|||||||
``/etc/httpboot/ipa.initramfs``.
|
``/etc/httpboot/ipa.initramfs``.
|
||||||
|
|
||||||
If you are running the installation behind a proxy, export the
|
If you are running the installation behind a proxy, export the
|
||||||
environment variables ``http_proxy`` and ``https_proxy`` so that
|
environment variables ``http_proxy``, ``https_proxy`` and ``no_proxy``
|
||||||
ansible will use these proxy settings.
|
so that ansible will use these proxy settings.
|
||||||
|
|
||||||
Installing
|
Installing
|
||||||
----------
|
----------
|
||||||
|
@ -27,3 +27,4 @@
|
|||||||
environment:
|
environment:
|
||||||
http_proxy: "{{ lookup('env','http_proxy') }}"
|
http_proxy: "{{ lookup('env','http_proxy') }}"
|
||||||
https_proxy: "{{ lookup('env','https_proxy') }}"
|
https_proxy: "{{ lookup('env','https_proxy') }}"
|
||||||
|
no_proxy: "{{ lookup('env', 'no_proxy') }}"
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Supports passing ``no_proxy`` environment variable to Ansible, users
|
||||||
|
can use ``no_proxy`` to exclude specified hosts from using proxy.
|
Loading…
Reference in New Issue
Block a user