summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Janczyk2024-09-18 18:46:47 +0200
committerMichael Janczyk2024-09-18 18:46:47 +0200
commit837aafbc95a6777f20d3c24a9bc2fa3e820f5e5b (patch)
tree9944fea646a14cee7d3c9b92ef26097ab5acdf0b
parentfix(slx-builder): Fix Copilot lying about family and directory options (diff)
downloadansible-dracut-837aafbc95a6777f20d3c24a9bc2fa3e820f5e5b.tar.gz
ansible-dracut-837aafbc95a6777f20d3c24a9bc2fa3e820f5e5b.tar.xz
ansible-dracut-837aafbc95a6777f20d3c24a9bc2fa3e820f5e5b.zip
fixup! fix(slx-builder): Fix Copilot lying about family and directory options
-rw-r--r--slx-builder/tasks/kernel.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/slx-builder/tasks/kernel.yml b/slx-builder/tasks/kernel.yml
index 39cac25..88fa89b 100644
--- a/slx-builder/tasks/kernel.yml
+++ b/slx-builder/tasks/kernel.yml
@@ -43,7 +43,7 @@
file:
path: /usr/lib/firmware/intel-ucode
state: absent
- when: ansible_facts['os_family'] == "RedHat"
+ when: ansible_facts['os_family'] == "RedHat" and builder_kernel_version is defined
- name: Link the kernel microcode directory
file: