Prevent ansible playbook abort when called in non-school environment

This commit is contained in:
Raphael Dannecker 2026-06-17 11:03:03 +02:00
parent 41d5110ca5
commit 8f04d77d58

View file

@ -12,6 +12,7 @@
question: msttcorefonts/dlurl
value: "{{ mirror_msfonts }}"
vtype: string
ignore_errors: true
when: mirror_msfonts is defined and mirror_msfonts | length > 0
- name: Install desktop EDU packages and some more
@ -235,6 +236,8 @@
dest: /usr/lib/x86_64-linux-gnu/libdvdcss.so.2.2.0
mode: '0644'
use_proxy: false
register: download_dvdcss_result
ignore_errors: true
when: mirror_dvdcss is defined and mirror_dvdcss | length > 0
- name: Link library so name
@ -242,7 +245,7 @@
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
when: mirror_dvdcss is defined and mirror_dvdcss | length > 0 and download_dvdcss_result.changed
- name: Patch sddm login screen to show hostname
ansible.builtin.blockinfile: