diff --git a/tools/airship-in-a-pod/infra-builder/assets/opt/ansible/playbooks/roles/install-kustomize/defaults/main.yml b/tools/airship-in-a-pod/infra-builder/assets/opt/ansible/playbooks/roles/install-kustomize/defaults/main.yaml similarity index 83% rename from tools/airship-in-a-pod/infra-builder/assets/opt/ansible/playbooks/roles/install-kustomize/defaults/main.yml rename to tools/airship-in-a-pod/infra-builder/assets/opt/ansible/playbooks/roles/install-kustomize/defaults/main.yaml index 756f87f09..454f263f6 100644 --- a/tools/airship-in-a-pod/infra-builder/assets/opt/ansible/playbooks/roles/install-kustomize/defaults/main.yml +++ b/tools/airship-in-a-pod/infra-builder/assets/opt/ansible/playbooks/roles/install-kustomize/defaults/main.yaml @@ -13,5 +13,6 @@ kustomize_version: v3.8.5 kustomize_download_url: "https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize/{{ kustomize_version }}/kustomize_{{ kustomize_version }}_linux_amd64.tar.gz" proxy: - http: - noproxy: + http_proxy: "{{ lookup('env', 'http_proxy') }}" + https_proxy: "{{ lookup('env', 'https_proxy') }}" + no_proxy: "{{ lookup('env', 'no_proxy') }}" diff --git a/tools/airship-in-a-pod/infra-builder/assets/opt/ansible/playbooks/roles/install-kustomize/tasks/main.yaml b/tools/airship-in-a-pod/infra-builder/assets/opt/ansible/playbooks/roles/install-kustomize/tasks/main.yaml index 6add79af6..3f464612e 100644 --- a/tools/airship-in-a-pod/infra-builder/assets/opt/ansible/playbooks/roles/install-kustomize/tasks/main.yaml +++ b/tools/airship-in-a-pod/infra-builder/assets/opt/ansible/playbooks/roles/install-kustomize/tasks/main.yaml @@ -19,6 +19,6 @@ args: warn: false environment: - http_proxy: "{{ proxy.http }}" - https_proxy: "{{ proxy.http }}" - no_proxy: "{{ proxy.noproxy }}" + http_proxy: "{{ proxy.http_proxy }}" + https_proxy: "{{ proxy.https_proxy }}" + no_proxy: "{{ proxy.no_proxy }}"