You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.4 KiB
YAML
43 lines
1.4 KiB
YAML
---
|
|
|
|
- name: Configure Surface 3 device
|
|
hosts: surface3
|
|
tasks:
|
|
- name: Install packages for hardware
|
|
apt:
|
|
state: present
|
|
name:
|
|
- intel-media-va-driver-non-free
|
|
- intel-microcode
|
|
- firmware-linux
|
|
- firmware-linux-free
|
|
- firmware-linux-nonfree
|
|
- xserver-xorg-video-intel
|
|
- name: Add apt key for special kernel
|
|
apt_key:
|
|
state: present
|
|
id: 87DEFA4AB94A99A4C8C3112556C464BAAC421453
|
|
url: https://raw.githubusercontent.com/linux-surface/linux-surface/master/pkg/keys/surface.asc
|
|
- name: Add apt repository for special kernel
|
|
apt_repository:
|
|
state: present
|
|
filename: linux-surface
|
|
repo: "deb [arch=amd64] https://pkg.surfacelinux.com/debian release main"
|
|
update_cache: yes
|
|
- name: Install special kernel
|
|
apt:
|
|
state: present
|
|
name:
|
|
- libwacom-surface
|
|
- linux-headers-surface
|
|
- linux-image-surface
|
|
- linux-surface-secureboot-mok # Password: surface
|
|
- name: Disable evbug module debug logging # https://ralph.blog.imixs.com/2013/10/02/evbug-auf-die-blacklist-setzen/
|
|
copy:
|
|
content: |
|
|
blacklist evbug
|
|
dest: "{{ global_modprode_configuration_directory }}/disable-evbug.conf"
|
|
owner: root
|
|
group: root
|
|
mode: u=rw,g=r,o=
|