From d61f2cc7e1877ebdbd43d7b73c63335acb31d6ea Mon Sep 17 00:00:00 2001
From: Chris Hines <chris.hines@monash.edu>
Date: Fri, 15 Oct 2021 11:10:24 +1100
Subject: [PATCH] Destroy before build

---
 .gitlab-ci.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 99373c22..7be8847e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -99,6 +99,7 @@ build_infra:
     - export SSH_CA=`cat tmp_key.pub`
     - cd infra
     - python3 ./template.py
+    - ansible-playbook os_delete.yml
     - ansible-playbook os_create.yml
     - python3 ./make_inventory.py $CI_PROJECT_NAME-ci-$CI_COMMIT_REF_NAME > ../inventory.yml
     - cd ..
-- 
GitLab