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:
parent
1e4b48f039
commit
90bbc0a399
@ -6,3 +6,7 @@
|
|||||||
regexp: '^((?!.*\bcgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory\b).*)$'
|
regexp: '^((?!.*\bcgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory\b).*)$'
|
||||||
line: '\1 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory'
|
line: '\1 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory'
|
||||||
notify: reboot
|
notify: reboot
|
||||||
|
|
||||||
|
- name: Install linux-modules-extra-raspi
|
||||||
|
apt: name=linux-modules-extra-raspi state=present
|
||||||
|
when: raspberry_pi
|
||||||
|
|||||||
@ -51,6 +51,9 @@
|
|||||||
systemd:
|
systemd:
|
||||||
daemon_reload: yes
|
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
|
- name: Reboot and wait for node to come back up
|
||||||
reboot:
|
reboot:
|
||||||
reboot_timeout: 3600
|
reboot_timeout: 3600
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user