Separate exam-mode stuff in own role

This commit is contained in:
Raphael Dannecker 2025-03-18 14:37:13 +01:00
parent 43157dd810
commit 3d01394820
13 changed files with 493 additions and 472 deletions

View file

@ -152,7 +152,6 @@
- pwroff
- bootorder.sh
- reporter
- pam-exec.sh
- name: Provide services and timers for some scripts
copy:
@ -309,12 +308,6 @@
font.pointSize: config.fontSize
}
- name: enable login script via pam_exec.so
lineinfile:
dest: /etc/pam.d/common-auth
line: "auth optional pam_exec.so /usr/local/sbin/pam-exec.sh"
when: "'teacherlaptop' not in group_names"
- name: Set git default-branch to main
ansible.builtin.copy:
dest: /etc/gitconfig