diff --git a/main.tf b/main.tf index c9605ac8ad9b954ee2724d7a640af8a628516749..f6dd401aa14b199a5a9d1ead716669ca3c9167af 100644 --- a/main.tf +++ b/main.tf @@ -138,8 +138,8 @@ resource "null_resource" "ops" { # 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" + 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" ] }