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

View file

@ -8,6 +8,9 @@
vars: vars:
domain: "{{ ansible_domain }}" domain: "{{ ansible_domain }}"
kerberize_uris: qgm.lan kerberize_uris: qgm.lan
realm: QGM.LAN
serverhostname: server
smb_server: server
apt_conf: Acquire::http::Proxy "http://netboot.qgm.lan:3142/"; apt_conf: Acquire::http::Proxy "http://netboot.qgm.lan:3142/";
ntp_serv: server.qgm.lan ntp_serv: server.qgm.lan
proxy: http://firewall.qgm.lan:3128 proxy: http://firewall.qgm.lan:3128
@ -44,5 +47,5 @@
#- lmn_mount #- lmn_mount
#- lmn_kde #- lmn_kde
- lmn_qgm ## school specific customization - lmn_qgm ## school specific customization
#- lmn_printer - lmn_printer
#- kerberize #- 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 %examusers ALL=(root) NOPASSWD: /usr/share/linuxmuster-linuxclient7/scripts/sudoTools
%role-student 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 %role-teacher ALL=(root) NOPASSWD: /usr/share/linuxmuster-linuxclient7/scripts/sudoTools

View file

@ -1,5 +1,5 @@
[network] [network]
serverHostname = server serverHostname = {{ serverhostname }}
domain = pn.steinbeis.schule domain = {{ domain }}
realm = PN.STEINBEIS.SCHULE realm = {{ realm }}
version = 1 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 - name: Preseed ttf-mscorefonts-installer
ansible.builtin.debconf: ansible.builtin.debconf:
name: ttf-mscorefonts-installer name: ttf-mscorefonts-installer
@ -70,9 +78,13 @@
action/lock_screen=false action/lock_screen=false
action/start_new_session=false action/start_new_session=false
- name: Disable screen locking
ansible.builtin.copy:
dest: /etc/xdg/kscreenlockerrc
content: |
[Daemon][$i] [Daemon][$i]
AutoLock=false Autolock=false
LockonResume=false LockOnResume=false
- name: Download greenfoot/bluej - name: Download greenfoot/bluej
ansible.builtin.get_url: ansible.builtin.get_url: