Skip to content
Snippets Groups Projects
Commit 80a2e6a8 authored by Krish Moodbidri's avatar Krish Moodbidri
Browse files

fix space syntax issue

parent 5f09fb1d
No related branches found
No related tags found
No related merge requests found
Pipeline #10080 failed with stages
in 24 seconds
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment