From c8a80e400ebe4311819fedb4419400b0bb5177b8 Mon Sep 17 00:00:00 2001 From: Ravi Tripathi <ravi89@uab.edu> Date: Mon, 26 Jun 2023 16:21:30 -0500 Subject: [PATCH] removing quotes around sed command --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 2b0c3e2..72a746b 100644 --- a/main.tf +++ b/main.tf @@ -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"] } -- GitLab