Skip to content
Snippets Groups Projects
Commit bfd7c6f6 authored by Eesaan Atluri's avatar Eesaan Atluri Committed by Bo-Chun Chen
Browse files

Create packer template to build compute image

parent d19b2c79
No related branches found
No related tags found
1 merge request!35Fix knightly pipeline
......@@ -23,17 +23,20 @@ build {
sources = ["source.openstack.image"]
provisioner "ansible" {
playbook_file = "./ansible/node-compute.yml"
groups = ["compute"]
playbook_file = "./ansible/compute.yml"
roles_path = "./ansible/roles"
extra_arguments = [
"--extra-vars", "root_ssh_key='${var.root_ssh_key}'"
]
}
provisioner "ansible" {
playbook_file = "../CRI_XCBC/ood-packer.yaml"
use_proxy = false
ansible_env_vars = ["ANSIBLE_HOST_KEY_CHECKING=False"]
playbook_file = "../CRI_XCBC/ood-packer.yaml"
extra_arguments = [
"-t enable_lmod",
"-t lmod_user",
]
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment