From fdb3268845fec112599ae089a4b2e3924f479b58 Mon Sep 17 00:00:00 2001
From: Krish Moodbidri <krish94@uab.edu>
Date: Mon, 26 Feb 2024 19:24:00 -0600
Subject: [PATCH] reverted previous change; and added a log for git clone

---
 ohpc-instance/main.tf | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/ohpc-instance/main.tf b/ohpc-instance/main.tf
index dbfe038..c280da4 100644
--- a/ohpc-instance/main.tf
+++ b/ohpc-instance/main.tf
@@ -45,15 +45,10 @@ resource "openstack_compute_instance_v2" "ohpc" {
        permissions: 0644
 
     # Clone CRI_XCBC repository
-    - git clone https://github.com/jprorama/CRI_XCBC.git /CRI_XCBC
+    - git clone https://github.com/jprorama/CRI_XCBC.git /CRI_XCBC > /tmp/git_clone.log 2>&1
 
     # Clone CRI_Cluster_Monitor repository
-    - git clone https://github.com/eesaanatluri/CRI_Cluster_Monitor.git /CRI_Cluster_Monitor
-
-    # Run Ansible playbook
-    runcmd:
-      - ansible-playbook -c local /CRI_XCBC/site-ops.yaml -b -v
-    EOF
+    - git clone https://github.com/eesaanatluri/CRI_Cluster_Monitor.git 
 
 # defines the networks of the instance
   network {
-- 
GitLab