Prevent ansible playbook abort when called in non-school environment
This commit is contained in:
parent
41d5110ca5
commit
8f04d77d58
1 changed files with 4 additions and 1 deletions
|
|
@ -12,6 +12,7 @@
|
||||||
question: msttcorefonts/dlurl
|
question: msttcorefonts/dlurl
|
||||||
value: "{{ mirror_msfonts }}"
|
value: "{{ mirror_msfonts }}"
|
||||||
vtype: string
|
vtype: string
|
||||||
|
ignore_errors: true
|
||||||
when: mirror_msfonts is defined and mirror_msfonts | length > 0
|
when: mirror_msfonts is defined and mirror_msfonts | length > 0
|
||||||
|
|
||||||
- name: Install desktop EDU packages and some more
|
- name: Install desktop EDU packages and some more
|
||||||
|
|
@ -235,6 +236,8 @@
|
||||||
dest: /usr/lib/x86_64-linux-gnu/libdvdcss.so.2.2.0
|
dest: /usr/lib/x86_64-linux-gnu/libdvdcss.so.2.2.0
|
||||||
mode: '0644'
|
mode: '0644'
|
||||||
use_proxy: false
|
use_proxy: false
|
||||||
|
register: download_dvdcss_result
|
||||||
|
ignore_errors: true
|
||||||
when: mirror_dvdcss is defined and mirror_dvdcss | length > 0
|
when: mirror_dvdcss is defined and mirror_dvdcss | length > 0
|
||||||
|
|
||||||
- name: Link library so name
|
- name: Link library so name
|
||||||
|
|
@ -242,7 +245,7 @@
|
||||||
src: libdvdcss.so.2.2.0
|
src: libdvdcss.so.2.2.0
|
||||||
dest: /usr/lib/x86_64-linux-gnu/libdvdcss.so.2
|
dest: /usr/lib/x86_64-linux-gnu/libdvdcss.so.2
|
||||||
state: link
|
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
|
- name: Patch sddm login screen to show hostname
|
||||||
ansible.builtin.blockinfile:
|
ansible.builtin.blockinfile:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue