Add device specific config for group surface3

dehydrated
Felix Stupp 4 years ago
parent c0676a8877
commit ab528baaff
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -0,0 +1,42 @@
---
- 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=

@ -27,6 +27,8 @@
# Group specific configurations
- name: Include configuration for group bwcloud
import_playbook: playbooks/group_bwcloud.yml
- name: Include configuration for group surface3
import_playbook: playbooks/group_surface3.yml
- name: Include configuration for group os_raspbian
import_playbook: playbooks/group_os_raspbian.yml

Loading…
Cancel
Save