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

fixed syntax

parent 630d6022
No related merge requests found
Pipeline #10077 failed with stages
in 30 seconds
...@@ -138,8 +138,8 @@ resource "null_resource" "ops" { ...@@ -138,8 +138,8 @@ resource "null_resource" "ops" {
# 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 /", "git clone https://github.com/jprorama/CRI_XCBC.git /",
for node, net in module.nodes.network: 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"
] ]
} }
......
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