All checks were successful
Ansible Playbook lint / ansible-lint (push) Successful in 35s
14 lines
462 B
YAML
14 lines
462 B
YAML
---
|
|
- name: Setup boot entry facts
|
|
ansible.builtin.set_fact:
|
|
bootconf: "{{ setup_cgroupsv1_bootconf | default('/boot/loader/entries/arch.conf') }}"
|
|
- name: Append cgroupsv1 boot option
|
|
ansible.builtin.lineinfile:
|
|
path: "{{ bootconf }}"
|
|
regexp: '^(options.*rw)'
|
|
line: '\1 SYSTEMD_CGROUP_ENABLE_LEGACY_FORCE=1 systemd.unified_cgroup_hierarchy=0'
|
|
backrefs: true
|
|
notify: Reboot
|
|
- name: Flush handlers
|
|
ansible.builtin.meta: flush_handlers
|