From 4ba4836b7d927cfd515cc397c612a2d1c5cd6e37 Mon Sep 17 00:00:00 2001 From: "Andreas B. Mundt" Date: Wed, 27 Sep 2023 20:33:14 +0200 Subject: [PATCH] Clean up new playbooks; mind mapping software. --- lmn-teachers.yml => lmn-teacher.yml | 61 +---------------------------- roles/lmn_fvs/tasks/main.yml | 2 + 2 files changed, 4 insertions(+), 59 deletions(-) rename lmn-teachers.yml => lmn-teacher.yml (56%) diff --git a/lmn-teachers.yml b/lmn-teacher.yml similarity index 56% rename from lmn-teachers.yml rename to lmn-teacher.yml index b2b5587..0519f48 100644 --- a/lmn-teachers.yml +++ b/lmn-teacher.yml @@ -1,4 +1,4 @@ -## This playbook deploys a KDE desktop machine for LinuxMuster. +## This playbook deploys a KDE teacher's laptop machine for LinuxMuster. --- - name: apply configuration to the machines hosts: all @@ -45,71 +45,14 @@ - up2date_debian - lmn_sssd - lmn_kde - - lmn_mount - lmn_fvs ## school specific customization - lmn_vm - - lmn_printer - kerberize - - lmn_security +# - lmn_security tasks: - - name: Add local user 'virti' in the 'libvirt' group - ansible.builtin.user: - name: virti - password: $y$j9T$DuSvAO63v5LvoJmJ1rB0B0$D4tovIz79AdLHs5I6tYa7rxr3SWknQeUFvGaaKvUpo3 - comment: Libvirt VM User,,, - shell: /bin/bash - groups: libvirt - append: yes - when: false - - name: enable pam_mkhomedir.so lineinfile: dest: /etc/pam.d/common-session line: "session optional pam_mkhomedir.so umask=0022" insertbefore: "# end of pam-auth-update config" - - - name: Fix 8086:4909 external graphics card - replace: - dest: "/etc/default/grub" - regexp: 'GRUB_CMDLINE_LINUX=""$' - replace: 'GRUB_CMDLINE_LINUX="i915.force_probe=4909"' - notify: Run update-grub - when: ansible_board_vendor == "LENOVO" and ansible_board_name == "32CB" - - - name: Fix sound on 312A - replace: - dest: "/etc/default/grub" - regexp: 'GRUB_CMDLINE_LINUX="snd-intel-dspcfg.dsp_driver=1"$' - replace: 'GRUB_CMDLINE_LINUX=""' - notify: Run update-grub - when: ansible_board_vendor == "LENOVO" and ansible_board_name == "312A" - - - name: Fix sound on 312A and 312D - apt: - name: firmware-sof-signed - state: latest - when: > - ansible_board_vendor == "LENOVO" and - (ansible_board_name == "312D" or ansible_board_name == "312A") - -## bullseye fixes: - - name: add bookworm firmware repository if needed - apt_repository: - repo: deb http://deb.debian.org/debian/ bookworm non-free-firmware - state: present - update_cache: true - when: > - ansible_board_vendor == "LENOVO" and - ansible_board_name == "32CB" and - ansible_distribution_release == "bullseye" - - - name: upgrade non-free-firmware packages - apt: - upgrade: true - autoremove: true - autoclean: true - when: > - ansible_board_vendor == "LENOVO" and - ansible_board_name == "32CB" and - ansible_distribution_release == "bullseye" diff --git a/roles/lmn_fvs/tasks/main.yml b/roles/lmn_fvs/tasks/main.yml index 612b9fa..f4292c8 100644 --- a/roles/lmn_fvs/tasks/main.yml +++ b/roles/lmn_fvs/tasks/main.yml @@ -27,6 +27,7 @@ - elpa-color-theme-modern - elpa-magit - emacs + - freeplane - git - gitg - gitk @@ -35,6 +36,7 @@ - kdevelop-php - kdevelop-python - libnotify-bin ## needed for pwroff script + - minder - neovim - net-tools - netcat-openbsd