Skip to content

Commit

Permalink
Merge pull request #76 from cisagov/lineage/skeleton
Browse files Browse the repository at this point in the history
Lineage pull request for: skeleton
  • Loading branch information
jsf9k authored Nov 28, 2022
2 parents f1b33a4 + f97d55b commit 2e1a20f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@ dist
## Terraform ##
.terraform
.terraform.lock.hcl
.tfvars
terraform.tfstate
terraform.tfstate.backup
*.tfvars
3 changes: 3 additions & 0 deletions src/packer.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -124,18 +124,21 @@ 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
}

provisioner "ansible" {
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
}

Expand Down

0 comments on commit 2e1a20f

Please sign in to comment.