From 80a2e6a868012396ef7522c58cfe532303fb0e68 Mon Sep 17 00:00:00 2001 From: Krish Moodbidri <krish94@uab.edu> Date: Wed, 28 Feb 2024 13:58:59 -0600 Subject: [PATCH] fix space syntax issue --- main.tf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.tf b/main.tf index e12d843..461d8fa 100644 --- a/main.tf +++ b/main.tf @@ -135,12 +135,12 @@ resource "null_resource" "ops" { # compute node registration on ohpc provisioner "remote-exec" { inline = [ - # Git clone command to clone the repository to the root directory + # Git clone command to clone the repository to the root directory "git clone https://github.com/jprorama/CRI_XCBC.git /", for node, net in module.nodes.network: - "ansible-playbook -c local -i /CRI_XCBC/hosts -l `hostname -s` -e \"{'cod_deploy':'false', 'compute_nodes':[{'name':'${node}', 'ip':'${net[0].fixed_ip_v4}', 'mac':'${net[0].mac}', 'vnfs':'', 'sockets':'1', 'corespersocket':'1'}]}\" /CRI_XCBC/site-ops.yaml -b -v" - ] + "ansible-playbook -c local -i /CRI_XCBC/hosts -l `hostname -s` -e \"{'cod_deploy':'false', 'compute_nodes':[{'name':'${node}', 'ip':'${net[0].fixed_ip_v4}', 'mac':'${net[0].mac}', 'vnfs':'', 'sockets':'1', 'corespersocket':'1'}]}\" /CRI_XCBC/site-ops.yaml -b -v" + ] } # ood node -- GitLab