From af362f320788ab9a9eb0b2a763a1ec0a51009596 Mon Sep 17 00:00:00 2001 From: Krish Moodbidri <krish94@uab.edu> Date: Mon, 26 Jun 2023 14:26:44 -0500 Subject: [PATCH] added cod_deploy to false and edited comment message for compute node registration --- main.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.tf b/main.tf index c1ec9f8..bfad079 100644 --- a/main.tf +++ b/main.tf @@ -150,11 +150,11 @@ resource "null_resource" "ops" { } # moves CRI_XCBC file into directory made above - # compute node + # compute node registration on ohpc provisioner "remote-exec" { inline = [ for node, net in module.nodes.network: - "ansible-playbook -c local -i /CRI_XCBC/hosts -l `hostname -s` -e \"{'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