mirror of
https://github.com/techno-tim/k3s-ansible.git
synced 2026-03-11 23:32:12 +01:00
Add LSB release checks. This is untested atm.
This commit is contained in:
@@ -5,9 +5,9 @@
|
||||
failed_when: false
|
||||
changed_when: false
|
||||
|
||||
- name: Set path to cmdline based on test
|
||||
- name: Set cmdline path based on Debian version and boot_cmdline_path result
|
||||
set_fact:
|
||||
cmdline_path: "{{ (boot_cmdline_path.rc == 0) | ternary('/boot/cmdline.txt', '/boot/firmware/cmdline.txt') }}"
|
||||
cmdline_path: "{{ (boot_cmdline_path.rc == 0 and ansible_facts['distribution'] == 'Debian' and ansible_facts['distribution_version'] is version('bookworm', '<')) | ternary('/boot/cmdline.txt', '/boot/firmware/cmdline.txt') }}"
|
||||
|
||||
- name: Activating cgroup support
|
||||
lineinfile:
|
||||
|
||||
Reference in New Issue
Block a user