From 0d332a80cf731e5927c81c9f6929a8b83d43cddd Mon Sep 17 00:00:00 2001 From: Victor Morales Date: Mon, 5 Feb 2018 10:45:46 -0800 Subject: Add proxy support In some cases the XCI development environment can be located behind a corporate proxy resulting in a additional layer to consider to configure. These changes pretend to include proxy support for all linux distros in all the posible flavors. Change-Id: Iab469268809ac471d09e244bb3ccd83de1a41b88 Signed-off-by: Victor Morales --- xci/infra/bifrost/playbooks/opnfv-virtual.yaml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'xci/infra/bifrost') diff --git a/xci/infra/bifrost/playbooks/opnfv-virtual.yaml b/xci/infra/bifrost/playbooks/opnfv-virtual.yaml index f44adb4d..3429f2e6 100644 --- a/xci/infra/bifrost/playbooks/opnfv-virtual.yaml +++ b/xci/infra/bifrost/playbooks/opnfv-virtual.yaml @@ -100,6 +100,7 @@ environment: http_proxy: "{{ lookup('env','http_proxy') }}" https_proxy: "{{ lookup('env','https_proxy') }}" + no_proxy: "{{ lookup('env','no_proxy') }}" - hosts: baremetal name: "Enrollment and Deployment" @@ -112,7 +113,12 @@ - role: ironic-enroll-dynamic - { role: ironic-inspect-node, when: inspect_nodes | default('false') | bool == true } - role: bifrost-configdrives-dynamic + ipv4_nameserver: 192.168.122.1 - role: bifrost-deploy-nodes-dynamic + environment: + http_proxy: "{{ lookup('env','http_proxy') }}" + https_proxy: "{{ lookup('env','https_proxy') }}" + no_proxy: "{{ lookup('env','no_proxy') }}" - hosts: baremetal name: "Deploy machines." -- cgit 1.2.3-korg