Skip to content
Snippets Groups Projects

wip: test-keypair without file

Closed Krish Moodbidri requested to merge feat-test-keypair into feat-deploy-xdmod-supremm
Compare and Show latest version
1 file
+ 3
2
Compare changes
  • Side-by-side
  • Inline
+ 3
2
@@ -150,11 +150,12 @@ resource "null_resource" "ops" {
}
# moves CRI_XCBC file into directory made above
# compute node
# compute node registration on ohpc
provisioner "remote-exec" {
inline = [
sed -i -E "s/(ServerName ).*/\1xdmod.${module.create-ohpc-instance.ssh_host}.nip.io/" /etc/httpd/conf.d/xdmod.conf
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
Loading