Skip to content
Snippets Groups Projects

Draft: adding compute build and deploy

Closed Krish Moodbidri requested to merge krish94/hpc-factory:feat-add-compute into feat-hpc-factory
Compare and Show latest version
1 file
+ 11
0
Compare changes
  • Side-by-side
  • Inline
@@ -36,6 +36,17 @@ source "openstack" "image" {
build {
sources = ["source.openstack.image"]
provisioner "ansible" {
use_proxy = false
user = var.ssh_username
groups = ["base"]
playbook_file = "./ansible/base.yml"
roles_path = "./ansible/roles"
extra_arguments = [
"--extra-vars", "root_ssh_key='${var.root_ssh_key}'"
]
}
provisioner "ansible" {
use_proxy = false
user = var.ssh_username
Loading