diff --git a/.gitignore b/.gitignore index 239f171..ae01225 100644 --- a/.gitignore +++ b/.gitignore @@ -17,4 +17,6 @@ dist ## Terraform ## .terraform .terraform.lock.hcl -.tfvars +terraform.tfstate +terraform.tfstate.backup +*.tfvars diff --git a/src/packer.pkr.hcl b/src/packer.pkr.hcl index 4754ea6..5be7390 100644 --- a/src/packer.pkr.hcl +++ b/src/packer.pkr.hcl @@ -124,11 +124,13 @@ build { provisioner "ansible" { playbook_file = "src/upgrade.yml" + use_proxy = false use_sftp = true } provisioner "ansible" { playbook_file = "src/python.yml" + use_proxy = false use_sftp = true } @@ -136,6 +138,7 @@ build { ansible_env_vars = ["ANSIBLE_PRIVATE_ROLE_VARS=True", "AWS_DEFAULT_REGION=${var.build_region}"] extra_arguments = ["--extra-vars", "{build_bucket: ${var.build_bucket}}"] playbook_file = "src/playbook.yml" + use_proxy = false use_sftp = true }