Add linux-modules-extra-raspi package for Ubuntu 22.x on Raspberry. (#50)

* Add task for linux-modules-extra-raspi

Ubuntu 22.x on Raspberry Pi needs the linux-modules-extra-raspi package
for the vxlans kernel module.

* Remove linux-modules-extra-reaspi package

Not sure we want to do this but including it in the PR anyway for discussion.
This commit is contained in:
Lance A. Brown 2022-08-11 22:23:56 -04:00 committed by GitHub
parent 1e4b48f039
commit 90bbc0a399
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View File

@ -6,3 +6,7 @@
regexp: '^((?!.*\bcgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory\b).*)$'
line: '\1 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory'
notify: reboot
- name: Install linux-modules-extra-raspi
apt: name=linux-modules-extra-raspi state=present
when: raspberry_pi

View File

@ -51,6 +51,9 @@
systemd:
daemon_reload: yes
- name: Remove linux-modules-extra-raspi
apt: name=linux-modules-extra-raspi state=absent
- name: Reboot and wait for node to come back up
reboot:
reboot_timeout: 3600