diff --git a/modules/3_helpernode/helpernode.tf b/modules/3_helpernode/helpernode.tf index 835066d88e..554c9d1fa8 100644 --- a/modules/3_helpernode/helpernode.tf +++ b/modules/3_helpernode/helpernode.tf @@ -129,7 +129,7 @@ resource "null_resource" "prep_helpernode_tools_curl" { "curl -o ocp4-extract-helper/ocp4-helpernode.zip ${var.helpernode_repo}", "echo 'Extracting ocp4-helpernode...'", "cd ocp4-extract-helper && unzip ocp4-helpernode.zip", - "rm -rf ocp4-extract-helper/ocp4-helpernode.zip", + "cd .. && rm -rf ocp4-extract-helper/ocp4-helpernode.zip", "mv ocp4-extract-helper/ocp4-helpernode* ocp4-helpernode", "rm -rf ocp4-extract-helper" ] diff --git a/modules/5_install/install.tf b/modules/5_install/install.tf index 335c05e32e..7e4f0d45f3 100644 --- a/modules/5_install/install.tf +++ b/modules/5_install/install.tf @@ -118,7 +118,7 @@ resource "null_resource" "prep_playbooks_tools_curl" { "curl -o ocp4-extract-helper/ocp4-playbooks.zip ${var.install_playbook_repo}", "echo 'Extracting ocp4-playbooks...'", "cd ocp4-extract-helper && unzip ocp4-playbooks.zip", - "rm -rf ocp4-extract-helper/ocp4-playbooks.zip" + "cd .. && rm -rf ocp4-extract-helper/ocp4-playbooks.zip", "mv ocp4-extract-helper/ocp4-playbooks* ocp4-playbooks", "rm -rf ocp4-extract-helper" ]