Initial configuration

This commit is contained in:
2023-02-01 18:34:56 +01:00
parent f95391a1fb
commit 676f7e2f3e
12 changed files with 162 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
- name: Check if cgroup v2 is available
ansible.builtin.command: grep cgroup2 /proc/filesystems
register: cgroup2_present
- name: Enable cgroup v2
ansible.builtin.command: 'grubby --update-kernel=ALL --add-args="systemd.unified_cgroup_hierarchy=1"'
become: true
when:
- cgroup2_present.rc != 0