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:
|
||||
name: firmware-sof-signed
|
||||
state: latest
|
||||
environment:
|
||||
http_proxy: http://firewall.pn.steinbeis.schule:3128
|
||||
https_proxy: http://firewall.pn.steinbeis.schule:3128
|
||||
when: >
|
||||
ansible_board_vendor == "LENOVO" and
|
||||
(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
|
||||
apt:
|
||||
name:
|
||||
|
@ -51,8 +58,11 @@
|
|||
- sigrok
|
||||
- sigrok-cli
|
||||
- codeblocks
|
||||
- ttf-mscorefonts-installer
|
||||
autoremove: true
|
||||
state: latest
|
||||
environment:
|
||||
http_proxy: '' # this is needed to avoid ttf-mscorefonts-installer picking up aptcacher
|
||||
|
||||
- name: Add {{ ansible_distribution_release }}-backports
|
||||
apt_repository:
|
||||
|
@ -72,23 +82,6 @@
|
|||
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
|
||||
replace:
|
||||
dest: "/etc/default/grub"
|
||||
|
@ -154,13 +147,13 @@
|
|||
RememberLastUser=false
|
||||
RememberLastSession=false
|
||||
|
||||
|
||||
- name: Create directory to avoid suspend
|
||||
ansible.builtin.file:
|
||||
path: /etc/systemd/sleep.conf.d/
|
||||
state: directory
|
||||
mode: '0755'
|
||||
|
||||
|
||||
- name: Avoid suspending
|
||||
blockinfile:
|
||||
path: /etc/systemd/sleep.conf.d/nosuspend.conf
|
||||
|
|
Loading…
Add table
Reference in a new issue