mirror of
https://github.com/k3s-io/k3s-ansible.git
synced 2025-12-25 00:12:37 +01:00
14
roles/raspbian/tasks/main.yml
Normal file
14
roles/raspbian/tasks/main.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
---
|
||||
|
||||
- name: Activating cgroup on Raspbian
|
||||
lineinfile:
|
||||
path: /boot/cmdline.txt
|
||||
regexp: '^(.*rootwait)$'
|
||||
line: '\1 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory'
|
||||
backrefs: true
|
||||
when: ( ansible_facts.architecture is search "arm" )
|
||||
|
||||
- name: Rebooting on Raspbian
|
||||
shell: reboot now
|
||||
ignore_errors: true
|
||||
when: ( ansible_facts.architecture is search "arm" )
|
||||
Reference in New Issue
Block a user