This commit is contained in:
Frank Schiebel 2023-09-06 16:45:33 +02:00
parent 96f96678fc
commit 60914aed79
6 changed files with 25 additions and 10 deletions

View file

@ -1,2 +0,0 @@
smb_server: "server"
smb_share: "default-school/"

View file

@ -1,4 +1,3 @@
%examusers ALL=(root) NOPASSWD: /usr/share/linuxmuster-linuxclient7/scripts/sudoTools
%role-student ALL=(root) NOPASSWD: /usr/share/linuxmuster-linuxclient7/scripts/sudoTools
%role-teacher ALL=(root) NOPASSWD: /usr/share/linuxmuster-linuxclient7/scripts/sudoTools

View file

@ -1,5 +1,5 @@
[network]
serverHostname = server
domain = pn.steinbeis.schule
realm = PN.STEINBEIS.SCHULE
serverHostname = {{ serverhostname }}
domain = {{ domain }}
realm = {{ realm }}
version = 1

View file

@ -1,4 +1,12 @@
---
- name: Enable passwordless sudo access for user ansible
lineinfile:
path: /etc/sudoers
state: present
regexp: '^ansible ALL='
line: 'ansible ALL=(ALL) NOPASSWD: ALL'
validate: '/usr/sbin/visudo -cf %s'
- name: Preseed ttf-mscorefonts-installer
ansible.builtin.debconf:
name: ttf-mscorefonts-installer
@ -70,9 +78,13 @@
action/lock_screen=false
action/start_new_session=false
- name: Disable screen locking
ansible.builtin.copy:
dest: /etc/xdg/kscreenlockerrc
content: |
[Daemon][$i]
AutoLock=false
LockonResume=false
Autolock=false
LockOnResume=false
- name: Download greenfoot/bluej
ansible.builtin.get_url: