diff --git a/roles/slurm-from-source/templates/gres.conf.j2 b/roles/slurm-from-source/templates/gres.conf.j2
new file mode 100644
index 0000000000000000000000000000000000000000..6ff44e6bbfe6a88eecaf49a271f25aa0b6e036cc
--- /dev/null
+++ b/roles/slurm-from-source/templates/gres.conf.j2
@@ -0,0 +1,3 @@
+{% for gr in slurm_gres_list %}
+Name={{ gr.name }} Type={{ slurm_generic_resource.stdout }} File={{ gr.file }}
+{% endfor %}
diff --git a/roles/slurm-from-source/templates/gres_sub.conf.j2 b/roles/slurm-from-source/templates/gres_sub.conf.j2
new file mode 100644
index 0000000000000000000000000000000000000000..a3bbf7199baffd6c7e154e898d36cf2857afdc57
--- /dev/null
+++ b/roles/slurm-from-source/templates/gres_sub.conf.j2
@@ -0,0 +1,3 @@
+{% for gr in slurm_gres_list %}
+Name={{ gr.name }} File={{ gr.file }}
+{% endfor %}