From c47215a3f831dfd9df7ddaeaa475e32fd36eaebf Mon Sep 17 00:00:00 2001 From: arnol377 Date: Tue, 10 Sep 2024 15:17:55 -0400 Subject: [PATCH] trying shenanigans so that census can perform security theater --- docker-ubuntu-base-python-install.pkr.hcl | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docker-ubuntu-base-python-install.pkr.hcl b/docker-ubuntu-base-python-install.pkr.hcl index 93b65a6..c438696 100644 --- a/docker-ubuntu-base-python-install.pkr.hcl +++ b/docker-ubuntu-base-python-install.pkr.hcl @@ -103,7 +103,14 @@ build { command = "/root/.local/bin/ansible-playbook" playbook_file = "${var.ansible_dir}/${data.amazon-parameterstore.playbook.value}" roles_path = "${var.ansible_dir}/roles" - ansible_env_vars = ["ANSIBLE_STDOUT_CALLBACK=yaml", "ANSIBLE_NOCOLOR=True"] + ansible_env_vars = [ + "ANSIBLE_STDOUT_CALLBACK=yaml", + "ANSIBLE_NOCOLOR=True", + "HTTP_PROXY=http://proxy.tco.census.gov:3128", + "NO_PROXY=.census.gov,169.254.169.254,148.129.*,10.*,172.18.*,172.22.*,172.23.*,172.24.*,172.25.*,.eks.amazonaws.com,.s3.amazonaws.com,.amazonaws.com,.gcr.io,.pkg.dev", + "HTTPS_PROXY=http://proxy.tco.census.gov:3128" + + ] } post-processors {