Created
February 12, 2022 09:59
-
-
Save timdenholm/a450d3cf66ab0a838554cedf65d0a66a to your computer and use it in GitHub Desktop.
Install linux-surface kernel for Fedora with Ansible (Microsoft Surface Po 3)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- 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