diff --git a/lmn-desktop.yml b/lmn-desktop.yml index d96c72c..d80e4c0 100644 --- a/lmn-desktop.yml +++ b/lmn-desktop.yml @@ -40,6 +40,9 @@ ## Local mirror for mscorefonts. Remove or leave empty to use no mirror: mirror_msfonts: http://livebox.pn.steinbeis.schule/mscorefonts/ + ## Local mirror for libdvdcss. Remove or leave empty to use no mirror: + mirror_dvdcss: http://livebox.pn.steinbeis.schule/libdvdcss/ + rsyncsecret: Muster! keys2deploy: - 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKOY0hChWaCDtuiuQcM0v4/u1499esjTtnMjl4uYlnS0 andi@netboot' diff --git a/roles/lmn_fvs/tasks/main.yml b/roles/lmn_fvs/tasks/main.yml index 787bde4..fdf4404 100644 --- a/roles/lmn_fvs/tasks/main.yml +++ b/roles/lmn_fvs/tasks/main.yml @@ -171,6 +171,19 @@ # LockOnResume=false # +- name: Download libdvdcss from mirror + ansible.builtin.get_url: + url: "{{ mirror_dvdcss }}/libdvdcss.so.2.2.0" + dest: /usr/lib/x86_64-linux-gnu/libdvdcss.so.2.2.0 + when: mirror_dvdcss is defined and mirror_dvdcss | length > 0 + +- name: Link library so name + ansible.builtin.file: + src: libdvdcss.so.2.2.0 + dest: /usr/lib/x86_64-linux-gnu/libdvdcss.so.2 + state: link + when: mirror_dvdcss is defined and mirror_dvdcss | length > 0 + - name: Patch sddm login screen to show hostname blockinfile: path: /usr/share/sddm/themes/debian-breeze/Main.qml