diff --git a/roles/workshop_attendance/templates/list.php.j2 b/roles/workshop_attendance/templates/list.php.j2
index d4d469859..b170d270d 100644
--- a/roles/workshop_attendance/templates/list.php.j2
+++ b/roles/workshop_attendance/templates/list.php.j2
@@ -54,7 +54,7 @@ display_header();
$students = db_fetch_assocs("SELECT * FROM `users`");
print "
Name | EMail | Student | VSCode | Automation controller | Gitlab | Delete |
\n";
foreach ($students as $s) {
- print '' . $s['name'] . ' | ' . $s['email'] . ' | ' . $s['id'] . ' | VSCode | Controller | Gitlab | ' . ($s['email'] != '' ? '' : '') . " |
\n";
+ print '' . $s['name'] . ' | ' . $s['email'] . ' | ' . $s['id'] . ' | VSCode | Controller | Gitlab | ' . ($s['email'] != '' ? '' : '') . " |
\n";
}
print "
";
diff --git a/roles/workshop_attendance/templates/workshop.sql.j2 b/roles/workshop_attendance/templates/workshop.sql.j2
index bbe5578bb..cbe7c6740 100644
--- a/roles/workshop_attendance/templates/workshop.sql.j2
+++ b/roles/workshop_attendance/templates/workshop.sql.j2
@@ -6,7 +6,7 @@ CREATE TABLE IF NOT EXISTS `users` (
`vscode` varchar(512) DEFAULT '',
`vscode_display` varchar(512) DEFAULT '',
`gitlab` varchar(512) DEFAULT '',
- `tower` varchar(512) DEFAULT '',
+ `controller` varchar(512) DEFAULT '',
`username` varchar(128) DEFAULT '',
`password` varchar(128) DEFAULT '',
`grade` varchar(6) DEFAULT '0',
@@ -19,7 +19,7 @@ CREATE TABLE IF NOT EXISTS `users` (
{% for host in groups['control_nodes'] %}
{% if hostvars[host].student is defined and "student" + number | string == hostvars[host].student %}
{% if hostvars[host].student is defined and "student" + number | string == hostvars[host].student %}
- INSERT INTO `users` (`id`, `ip`, `vscode`, `vscode_display`, `gitlab`, `tower`, `username`, `password`) VALUES ({{ number }},'{{ hostvars[host].ansible_host }}',
+ INSERT INTO `users` (`id`, `ip`, `vscode`, `vscode_display`, `gitlab`, `controller`, `username`, `password`) VALUES ({{ number }},'{{ hostvars[host].ansible_host }}',
{% if workshop_type == "windows" %}
'https://student{{ number }}-code.{{ ec2_name_prefix }}.{{ workshop_dns_zone }}/?folder=vscode-remote%3A%2F%2Fstudent{{ number }}-code.{{ ec2_name_prefix }}.{{ workshop_dns_zone }}%2Fhome%2Fstudent{{ number }}%2Fwindows-workshop%2Fworkshop_project',
{% else %}