From a3c6f7ce4bd3f55bfa87ad52030f9d4c702df42f Mon Sep 17 00:00:00 2001
From: Eesaan Atluri <atlurie@uab.edu>
Date: Thu, 19 Dec 2024 12:24:54 -0600
Subject: [PATCH] feat: Download ansible files for cluster.yml

Closes https://gitlab.rc.uab.edu/rc/hpc-factory/-/issues/176
---
 .gitlab-ci.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 08675a2..e10ff28 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -300,6 +300,7 @@ deploy_login_node:
       [$ENV]
       127.0.0.1
       EEOF
+      s3cmd get --force -r --host=$AWS_HOST --host-bucket=$AWS_HOST s3://cheaha-cloud-ansible-files/ /tmp/${CI_PROJECT_NAME}/ansible/files/
       ansible-playbook -c local -i ansible/hosts --extra-vars="$EXTRA_VARS" ansible/cluster.yml | tee -a /tmp/ansible.log
       rm -rf /tmp/${CI_PROJECT_NAME}
       EOF
-- 
GitLab