From 81f99fb7e7f150f9389ff48f0434f752fb49965c Mon Sep 17 00:00:00 2001 From: John-Paul Robinson <jpr@uab.edu> Date: Thu, 24 Oct 2019 16:23:23 -0500 Subject: [PATCH] Ensure latest CRI_XCBC submodule data is staged during deploy Add file provisioner to sync the submodule state. --- main.tf | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/main.tf b/main.tf index c75a6bb..4e05523 100644 --- a/main.tf +++ b/main.tf @@ -125,6 +125,12 @@ resource "null_resource" "compute_ops" { private_key = file(var.ssh_private_key) } + # moves CRI_XCBC file into directory made above + provisioner "file" { + source = "CRI_XCBC" + destination = "/" + } + # compute node provisioner "remote-exec" { inline = [ @@ -145,6 +151,13 @@ resource "null_resource" "ood_ops" { private_key = file(var.ssh_private_key) } + # moves CRI_XCBC file into directory made above + provisioner "file" { + source = "CRI_XCBC" + destination = "/" + } + + # ood node provisioner "remote-exec" { inline = [ -- GitLab