Last active
April 25, 2024 09:50
-
-
Save casperghst42/cd2505a23bf726cf25f448c22b1734b7 to your computer and use it in GitHub Desktop.
Add non-free-firmware to sources.list
This file contains hidden or 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: Add non-free repository | |
replace: | |
dest: /etc/apt/sources.list | |
regexp: '^(deb(?!.* non-free).*)' | |
replace: '\1 non-free' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This would (with Debian 12 and later) be:
replace:
dest: /etc/apt/sources.list
regexp: '^(deb(?!.* non-free).*)'
replace: '\1 non-free non-free-firmware'