diff --git a/roles/config_repos/defaults/main.yml b/roles/config_repos/defaults/main.yml
index a5ac4ab98ab70895b62ab4c1140122007b29df96..15959bb80301025590ae42a1ea997aadcde4b4a6 100644
--- a/roles/config_repos/defaults/main.yml
+++ b/roles/config_repos/defaults/main.yml
@@ -3,3 +3,4 @@
 
 reposervername: consistency0
 reposerverip: 118.138.244.7
+repopath: centos
\ No newline at end of file
diff --git a/roles/config_repos/templates/monashhpc_base.repo.j2 b/roles/config_repos/templates/monashhpc_base.repo.j2
index 0f0cd119928b6e6803e491a495ff625b9fc54cf9..a2682a43f4e06f2b0e095fc13cb75ece8ce794b4 100644
--- a/roles/config_repos/templates/monashhpc_base.repo.j2
+++ b/roles/config_repos/templates/monashhpc_base.repo.j2
@@ -2,24 +2,24 @@
 
 [monashhpc_base]
 name=MonashHPC base repository mirrored to control the update process
-baseurl=https://{{ reposervername }}/centos/$releasever/os/$basearch/
+baseurl=https://{{ reposervername }}/{{ repopath }}/$releasever/os/$basearch/
 enabled=1
 sslverify=false
 
 [monashhpc_updates]
 name=MonashHPC base repository mirrored to control the update process
-baseurl=https://{{ reposervername }}/centos/$releasever/updates/$basearch/
+baseurl=https://{{ reposervername }}/{{ repopath }}/$releasever/updates/$basearch/
 enabled=1
 sslverify=false
 
 [monashhpc_extras]
 name=MonashHPC base repository mirrored to control the update process
-baseurl=https://{{ reposervername }}/centos/$releasever/extras/$basearch/
+baseurl=https://{{ reposervername }}/{{ repopath }}/$releasever/extras/$basearch/
 enabled=1
 sslverify=false
 
 [monashhpc_centosplus]
 name=MonashHPC base repository mirrored to control the update process
-baseurl=https://{{ reposervername }}/centos/$releasever/centosplus/$basearch/
+baseurl=https://{{ reposervername }}/{{ repopath }}/$releasever/centosplus/$basearch/
 enabled=1
 sslverify=false
diff --git a/roles/config_repos/templates/monashhpc_others.repo.j2 b/roles/config_repos/templates/monashhpc_others.repo.j2
index bd0b06270231095c8fa52cdffdb65f6b1f1202a7..de20f9926cc825dcdf6a1eb3200e8ce839b73f7d 100644
--- a/roles/config_repos/templates/monashhpc_others.repo.j2
+++ b/roles/config_repos/templates/monashhpc_others.repo.j2
@@ -2,7 +2,7 @@
 
 [monashhpc_otherstuff]
 name=MonashHPC base repository mirrored to control the update process
-baseurl=https://{{ reposervername }}/centos/hpcsystems/$releasever/$basearch/
+baseurl=https://{{ reposervername }}/{{ repopath }}/hpcsystems/$releasever/$basearch/
 enabled=1
 sslverify=false
 gpgcheck=0