Compare commits

..

1 Commits

Author SHA1 Message Date
Daniel SP
b274255b6f Merge 0919571744 into 9ace193ade 2024-02-26 20:38:14 +00:00
2 changed files with 3 additions and 3 deletions

View File

@@ -6,7 +6,7 @@
#
ansible-compat==4.1.11
# via molecule
ansible-core==2.16.4
ansible-core==2.16.3
# via
# -r requirements.in
# ansible-compat

View File

@@ -5,9 +5,9 @@
failed_when: false
changed_when: false
- name: Set cmdline path based on Debian version and boot_cmdline_path result
- name: Set path to cmdline based on test
set_fact:
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') }}"
cmdline_path: "{{ (boot_cmdline_path.rc == 0) | ternary('/boot/cmdline.txt', '/boot/firmware/cmdline.txt') }}"
- name: Activating cgroup support
lineinfile: