From 60fbfaacb1de4a4ce20fbd5744dd3df1beae6766 Mon Sep 17 00:00:00 2001 From: Bob Mader Date: Mon, 4 Dec 2023 14:12:49 -0600 Subject: [PATCH] fix dracut path --- roles/initramfs/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/initramfs/tasks/main.yml b/roles/initramfs/tasks/main.yml index e3acc93..b901b5d 100644 --- a/roles/initramfs/tasks/main.yml +++ b/roles/initramfs/tasks/main.yml @@ -19,7 +19,7 @@ - name: Create a new initramfs with the optional additional modules # yamllint disable-line rule:line-length - ansible.builtin.command: '/usr/sbin/dracut {{ ((initramfs_add_modules | length) > 0) | ternary("-a", "") }} "{{ initramfs_add_modules }}" --kver {{ _kernel_version }} --force' + ansible.builtin.command: '/usr/bin/dracut {{ ((initramfs_add_modules | length) > 0) | ternary("-a", "") }} "{{ initramfs_add_modules }}" --kver {{ _kernel_version }} --force' changed_when: true - name: Reboot the server