Nicer fix for the local-mirror-font issue.
This commit is contained in:
parent
79c8eec999
commit
f06c63f8f5
2 changed files with 11 additions and 21 deletions
|
@ -80,9 +80,6 @@
|
||||||
apt:
|
apt:
|
||||||
name: firmware-sof-signed
|
name: firmware-sof-signed
|
||||||
state: latest
|
state: latest
|
||||||
environment:
|
|
||||||
http_proxy: http://firewall.pn.steinbeis.schule:3128
|
|
||||||
https_proxy: http://firewall.pn.steinbeis.schule:3128
|
|
||||||
when: >
|
when: >
|
||||||
ansible_board_vendor == "LENOVO" and
|
ansible_board_vendor == "LENOVO" and
|
||||||
(ansible_board_name == "312D" or ansible_board_name == "312A")
|
(ansible_board_name == "312D" or ansible_board_name == "312A")
|
||||||
|
|
|
@ -1,4 +1,11 @@
|
||||||
---
|
---
|
||||||
|
- name: Preseed ttf-mscorefonts-installer
|
||||||
|
ansible.builtin.debconf:
|
||||||
|
name: ttf-mscorefonts-installer
|
||||||
|
question: msttcorefonts/dlurl
|
||||||
|
value: http://livebox.pn.steinbeis.schule/mscorefonts/
|
||||||
|
vtype: string
|
||||||
|
|
||||||
- name: Install desktop EDU packages and some more
|
- name: Install desktop EDU packages and some more
|
||||||
apt:
|
apt:
|
||||||
name:
|
name:
|
||||||
|
@ -51,8 +58,11 @@
|
||||||
- sigrok
|
- sigrok
|
||||||
- sigrok-cli
|
- sigrok-cli
|
||||||
- codeblocks
|
- codeblocks
|
||||||
|
- ttf-mscorefonts-installer
|
||||||
autoremove: true
|
autoremove: true
|
||||||
state: latest
|
state: latest
|
||||||
|
environment:
|
||||||
|
http_proxy: '' # this is needed to avoid ttf-mscorefonts-installer picking up aptcacher
|
||||||
|
|
||||||
- name: Add {{ ansible_distribution_release }}-backports
|
- name: Add {{ ansible_distribution_release }}-backports
|
||||||
apt_repository:
|
apt_repository:
|
||||||
|
@ -72,23 +82,6 @@
|
||||||
when: ansible_distribution_release == 'bullseye'
|
when: ansible_distribution_release == 'bullseye'
|
||||||
|
|
||||||
|
|
||||||
- name: Preseed ttf-mscorefonts-installer
|
|
||||||
ansible.builtin.debconf:
|
|
||||||
name: ttf-mscorefonts-installer
|
|
||||||
question: msttcorefonts/dlurl
|
|
||||||
value: http://livebox.pn.steinbeis.schule/mscorefonts/
|
|
||||||
vtype: string
|
|
||||||
|
|
||||||
- name: Install fonts from local mirror
|
|
||||||
apt:
|
|
||||||
name:
|
|
||||||
- ttf-mscorefonts-installer
|
|
||||||
state: latest
|
|
||||||
autoremove: true
|
|
||||||
environment:
|
|
||||||
http_proxy: ''
|
|
||||||
|
|
||||||
|
|
||||||
- name: Enable splash screen
|
- name: Enable splash screen
|
||||||
replace:
|
replace:
|
||||||
dest: "/etc/default/grub"
|
dest: "/etc/default/grub"
|
||||||
|
@ -154,13 +147,13 @@
|
||||||
RememberLastUser=false
|
RememberLastUser=false
|
||||||
RememberLastSession=false
|
RememberLastSession=false
|
||||||
|
|
||||||
|
|
||||||
- name: Create directory to avoid suspend
|
- name: Create directory to avoid suspend
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: /etc/systemd/sleep.conf.d/
|
path: /etc/systemd/sleep.conf.d/
|
||||||
state: directory
|
state: directory
|
||||||
mode: '0755'
|
mode: '0755'
|
||||||
|
|
||||||
|
|
||||||
- name: Avoid suspending
|
- name: Avoid suspending
|
||||||
blockinfile:
|
blockinfile:
|
||||||
path: /etc/systemd/sleep.conf.d/nosuspend.conf
|
path: /etc/systemd/sleep.conf.d/nosuspend.conf
|
||||||
|
|
Loading…
Add table
Reference in a new issue