wip: test-keypair without file
Compare changes
- Bo-Chun Chen authored
+ 24
− 42
@@ -14,35 +14,6 @@ provider "openstack" {
@@ -14,35 +14,6 @@ provider "openstack" {
@@ -70,17 +41,19 @@ output "keypair_name" {
@@ -70,17 +41,19 @@ output "keypair_name" {
# calls functions from dmz-network, import-keypair, and floating-ip-address modules to get values created there for use
@@ -107,13 +80,12 @@ module "create-ohpc-instance" {
@@ -107,13 +80,12 @@ module "create-ohpc-instance" {
# calls functions from cluster-network and import-keypair modules to get values created there for use
@@ -137,21 +109,31 @@ resource "null_resource" "ops" {
@@ -137,21 +109,31 @@ resource "null_resource" "ops" {
"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"]