Skip to content
Snippets Groups Projects

Add packer template for proxy build

Files
2
@@ -42,6 +42,7 @@ build {
@@ -42,6 +42,7 @@ build {
groups = ["proxy"]
groups = ["proxy"]
playbook_file = "./ansible/cheaha.yml"
playbook_file = "./ansible/cheaha.yml"
roles_path = "./ansible/roles"
roles_path = "./ansible/roles"
 
ansible_env_vars = ["ANSIBLE_TIMEOUT=60"]
extra_arguments = [
extra_arguments = [
"--extra-vars", "root_ssh_key='${var.root_ssh_key}'"
"--extra-vars", "root_ssh_key='${var.root_ssh_key}'"
]
]
@@ -51,7 +52,7 @@ build {
@@ -51,7 +52,7 @@ build {
use_proxy = false
use_proxy = false
user = var.ssh_username
user = var.ssh_username
groups = ["proxy"]
groups = ["proxy"]
ansible_env_vars = ["ANSIBLE_HOST_KEY_CHECKING=False", "ANSIBLE_RUN_TAGS=var.ANSIBLE_RUN_TAGS"]
ansible_env_vars = ["ANSIBLE_TIMEOUT=60", "ANSIBLE_HOST_KEY_CHECKING=False"]
playbook_file = "./CRI_XCBC/proxy.yaml"
playbook_file = "./CRI_XCBC/proxy.yaml"
}
}
}
}
Loading