diff --git a/openstack-gpu/nodeimage.pkr.hcl b/openstack-gpu/nodeimage.pkr.hcl
index 7d3ed258d138b3ad3605b9b11e56bb7d2eef4b9a..705ba96bf0bf4480f404f82c1df12bd42408eab0 100644
--- a/openstack-gpu/nodeimage.pkr.hcl
+++ b/openstack-gpu/nodeimage.pkr.hcl
@@ -18,6 +18,20 @@ source "openstack" "image" {
 build {
   sources = ["source.openstack.image"]
 
+  provisioner "ansible" {
+    groups = ["compute"]
+    playbook_file = "./ansible/compute.yml"
+    ansible_env_vars = [
+      "ANSIBLE_SSH_ARGS='-oHostKeyAlgorithms=+ssh-rsa -oPubkeyAcceptedKeyTypes=ssh-rsa'",
+      "ANSIBLE_HOST_KEY_CHECKING=False"
+    ]
+    roles_path = "./ansible/roles"
+    extra_arguments = [
+      "--scp-extra-args", "'-O'",
+      "--extra-vars", "root_ssh_key='${var.root_ssh_key}'"
+    ]
+  }
+
   provisioner "ansible" {
     groups = ["gpu"]
     playbook_file = "./ansible/gpu.yml"
@@ -31,4 +45,10 @@ build {
       "--extra-vars", "root_ssh_key='${var.root_ssh_key}'"
     ]
   }
+
+  provisioner "ansible" {
+    use_proxy =  false
+    groups = ["compute"]
+    playbook_file = "./CRI_XCBC/compute-packer.yaml"
+  }
 }