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
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -153,7 +153,7 @@ resource "null_resource" "ops" {
# 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",
"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 \"{'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"]
}
Loading