Skip to content

Instantly share code, notes, and snippets.

@timdenholm
Created February 12, 2022 09:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timdenholm/a450d3cf66ab0a838554cedf65d0a66a to your computer and use it in GitHub Desktop.
Save timdenholm/a450d3cf66ab0a838554cedf65d0a66a to your computer and use it in GitHub Desktop.
Install linux-surface kernel for Fedora with Ansible (Microsoft Surface Po 3)
---
- name: Install linux-surface kernel for Fedora
hosts: localhost
become: true
tasks:
- name: Add repository
get_url:
url: https://pkg.surfacelinux.com/fedora/linux-surface.repo
dest: /etc/yum.repos.d/linux-surface.repo
- name: Install linux-surface kernel and its dependencies
dnf:
name:
- kernel-surface
- iptsd
- libwacom-surface
- surface-secureboot
allowerasing: true
state: present
- name: Enable iptsd service
systemd:
name: iptsd
enabled: true
- name: Reboot host
reboot:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment