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

@ -24,6 +24,9 @@
vars:
domain: "{{ ansible_domain }}"
kerberize_uris: qgm.lan
realm: QGM.LAN
serverhostname: server
smb_server: server
apt_conf: Acquire::http::Proxy "http://netboot.qgm.lan:3142/";
ntp_serv: server.qgm.lan
proxy: http://firewall.qgm.lan:3128
@ -62,5 +65,5 @@
- lmn_mount
- lmn_kde
- lmn_qgm
#- lmn_printer
- lmn_printer
#- kerberize

View file

@ -8,6 +8,9 @@
vars:
domain: "{{ ansible_domain }}"
kerberize_uris: qgm.lan
realm: QGM.LAN
serverhostname: server
smb_server: server
apt_conf: Acquire::http::Proxy "http://netboot.qgm.lan:3142/";
ntp_serv: server.qgm.lan
proxy: http://firewall.qgm.lan:3128
@ -44,5 +47,5 @@
#- lmn_mount
#- lmn_kde
- lmn_qgm ## school specific customization
#- lmn_printer
- lmn_printer
#- kerberize

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: