From 9da39345add7a28f05c7d6d30d3296fbdec18042 Mon Sep 17 00:00:00 2001 From: Bartosz Bezak Date: Fri, 14 Aug 2020 16:50:08 +0200 Subject: [PATCH] Add support to use bifrost-deploy behind proxy Change-Id: If90c2dfd32c8bc50671f6dd38e5a82b434c07151 Depends-On: https://review.opendev.org/#/c/720338 --- ansible/roles/bifrost/tasks/start.yml | 1 + .../notes/bifrost-deploy-behind-proxy-e41f84e8d49a9ddf.yaml | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 releasenotes/notes/bifrost-deploy-behind-proxy-e41f84e8d49a9ddf.yaml diff --git a/ansible/roles/bifrost/tasks/start.yml b/ansible/roles/bifrost/tasks/start.yml index d9cd1d0a44..c86e7c0d7a 100644 --- a/ansible/roles/bifrost/tasks/start.yml +++ b/ansible/roles/bifrost/tasks/start.yml @@ -7,6 +7,7 @@ image: "{{ bifrost_deploy_image_full }}" name: "bifrost_deploy" privileged: True + environment: "{{ container_proxy }}" volumes: - "{{ node_config_directory }}/bifrost/:/etc/bifrost:ro" - "/etc/localtime:/etc/localtime:ro" diff --git a/releasenotes/notes/bifrost-deploy-behind-proxy-e41f84e8d49a9ddf.yaml b/releasenotes/notes/bifrost-deploy-behind-proxy-e41f84e8d49a9ddf.yaml new file mode 100644 index 0000000000..eca34777d1 --- /dev/null +++ b/releasenotes/notes/bifrost-deploy-behind-proxy-e41f84e8d49a9ddf.yaml @@ -0,0 +1,5 @@ +--- +fixes: + - | + Add support to use bifrost-deploy behind proxy. It uses existing + container_proxy variable.